Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007778/0.0007778, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000821/0.000821, allocations: 214.8 kB / 23.03 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9684/0.9684, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.997/1.997, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_13_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_13_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 67.89 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.8157, allocations: 180 MB / 1.352 GB, free: 1.637 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002838/0.8185, allocations: 1.925 MB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.8196, allocations: 0.7052 MB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.8197, allocations: 7.938 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.8199, allocations: 79.62 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.82, allocations: 91.64 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.8206, allocations: 194.4 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.8208, allocations: 259.2 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.821, allocations: 49.92 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.8211, allocations: 119.6 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.8213, allocations: 151.5 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.8213, allocations: 20 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.8214, allocations: 95.92 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.8215, allocations: 59.72 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.8216, allocations: 83.53 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.8219, allocations: 310.7 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8219, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8219, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.8219, allocations: 0 / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006579/0.8226, allocations: 0.518 MB / 1.357 GB, free: 12.95 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8226, allocations: 8.922 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.8227, allocations: 50.73 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.8227, allocations: 32.69 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.8231, allocations: 241.2 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.8231, allocations: 16.36 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.8231, allocations: 16.33 kB / 1.357 GB, free: 12.56 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.8235, allocations: 320.2 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8235, allocations: 0 / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.8235, allocations: 4 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8235, allocations: 4 kB / 1.358 GB, free: 12.2 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.8237, allocations: 166 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.8244, allocations: 0.6098 MB / 1.358 GB, free: 11.37 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.8246, allocations: 184.2 kB / 1.359 GB, free: 11.17 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.8247, allocations: 122.7 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.8247, allocations: 0 / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.825, allocations: 198.7 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.825, allocations: 0 / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=15): time 0.0005097/0.8255, allocations: 445.5 kB / 1.359 GB, free: 10.37 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.8255, allocations: 136.5 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.8257, allocations: 281.8 kB / 1.36 GB, free: 9.918 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.8258, allocations: 33.7 kB / 1.36 GB, free: 9.879 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.8259, allocations: 160.3 kB / 1.36 GB, free: 9.719 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.8259, allocations: 47.58 kB / 1.36 GB, free: 9.672 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.826, allocations: 37.7 kB / 1.36 GB, free: 9.629 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002812/0.8262, allocations: 342.8 kB / 1.36 GB, free: 9.285 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.8263, allocations: 117.7 kB / 1.36 GB, free: 9.164 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.8265, allocations: 214.2 kB / 1.361 GB, free: 8.918 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.8267, allocations: 248.5 kB / 1.361 GB, free: 8.652 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8267, allocations: 0 / 1.361 GB, free: 8.652 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003217/0.827, allocations: 378.4 kB / 1.361 GB, free: 8.266 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.8271, allocations: 37.69 kB / 1.361 GB, free: 8.223 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.8271, allocations: 8.078 kB / 1.361 GB, free: 8.215 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8271, allocations: 0 / 1.361 GB, free: 8.215 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.8272, allocations: 27.98 kB / 1.361 GB, free: 8.188 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8272, allocations: 0 / 1.361 GB, free: 8.188 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.879e-05/0.8272, allocations: 23.88 kB / 1.361 GB, free: 8.164 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.8272, allocations: 4 kB / 1.361 GB, free: 8.16 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.8274, allocations: 199.9 kB / 1.361 GB, free: 7.949 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.8274, allocations: 27.81 kB / 1.362 GB, free: 7.922 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.8275, allocations: 33.77 kB / 1.362 GB, free: 7.883 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8275, allocations: 96 / 1.362 GB, free: 7.883 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8275, allocations: 3.938 kB / 1.362 GB, free: 7.879 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8275, allocations: 0 / 1.362 GB, free: 7.879 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.8276, allocations: 252.5 kB / 1.362 GB, free: 7.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8276, allocations: 0 / 1.362 GB, free: 7.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.8277, allocations: 12 kB / 1.362 GB, free: 7.578 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8277, allocations: 0 / 1.362 GB, free: 7.578 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.8277, allocations: 7.984 kB / 1.362 GB, free: 7.57 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8277, allocations: 3.938 kB / 1.362 GB, free: 7.566 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8277, allocations: 0 / 1.362 GB, free: 7.566 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.8282, allocations: 0.529 MB / 1.362 GB, free: 7 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/0.8282, allocations: 27.88 kB / 1.362 GB, free: 6.973 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.8283, allocations: 8 kB / 1.362 GB, free: 6.965 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.04e-05/0.8283, allocations: 11.98 kB / 1.362 GB, free: 6.953 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.8284, allocations: 27.95 kB / 1.362 GB, free: 6.926 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.8284, allocations: 8 kB / 1.362 GB, free: 6.918 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001233/0.8285, allocations: 197.2 kB / 1.363 GB, free: 6.73 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.8285, allocations: 4 kB / 1.363 GB, free: 6.727 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001997/0.8287, allocations: 63.86 kB / 1.363 GB, free: 6.664 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007546/0.8295, allocations: 1.096 MB / 1.364 GB, free: 5.523 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.8298, allocations: 326.6 kB / 1.364 GB, free: 5.18 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8298, allocations: 4.25 kB / 1.364 GB, free: 5.176 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.83, allocations: 189 kB / 1.364 GB, free: 4.973 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.8302, allocations: 28.48 kB / 1.364 GB, free: 4.945 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/0.8328, allocations: 2.919 MB / 1.367 GB, free: 1.891 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.8329, allocations: 144.8 kB / 1.367 GB, free: 1.73 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 8.08e-05/0.833, allocations: 17.48 kB / 1.367 GB, free: 1.715 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.8331, allocations: 75.34 kB / 1.367 GB, free: 1.641 MB / 1.042 GB Notification: Performance of SimCode: time 7.71e-07/0.8331, allocations: 0 / 1.367 GB, free: 1.641 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08637/0.9194, allocations: 6.109 MB / 1.373 GB, free: 11.7 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/8.229, allocations: 6.938 kB / 1.373 GB, free: 11.69 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.fmu) > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_fmpy_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 ../Buildings_13_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.fmu) > Buildings_13_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.21289964299649]