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.0009832/0.0009832, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.001036/0.001036, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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 1.062/1.062, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.787/1.787, allocations: 389.6 MB / 0.6343 GB, free: 12.56 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.726e-05, allocations: 5.797 kB / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002147/0.002164, allocations: 1.913 MB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003369, allocations: 0.7127 MB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.003463, allocations: 0 / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.003662, allocations: 87.58 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.003751, allocations: 91.55 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.004184, allocations: 191.5 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.004402, allocations: 267.3 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.004528, allocations: 50.11 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.004669, allocations: 155.7 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.004822, allocations: 139.7 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.00485, allocations: 20 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.004951, allocations: 87.92 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.005018, allocations: 59.77 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/0.005083, allocations: 67.77 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.005362, allocations: 323 kB / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.005365, allocations: 4 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005366, allocations: 0 / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00537, allocations: 0 / 1.005 GB, free: 9.383 MB / 0.9636 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.0005898/0.00596, allocations: 0.5102 MB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.006001, allocations: 13.33 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.006039, allocations: 46.75 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.006085, allocations: 32.69 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.006398, allocations: 244.9 kB / 1.006 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.006418, allocations: 16.38 kB / 1.006 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.006441, allocations: 12.38 kB / 1.006 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.006728, allocations: 308.8 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006736, allocations: 192 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.006751, allocations: 11.88 kB / 1.006 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.006757, allocations: 8 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.006934, allocations: 166 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005746/0.007509, allocations: 0.6059 MB / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.007733, allocations: 184.2 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.007838, allocations: 122.6 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007855, allocations: 7.938 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.008048, allocations: 202.8 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=15): time 1.113e-06/0.008049, allocations: 0 / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of matching and sorting (n=15): time 0.0004421/0.008492, allocations: 442.4 kB / 1.008 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.008543, allocations: 140.5 kB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.008722, allocations: 273.9 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.008741, allocations: 33.7 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.008824, allocations: 168.3 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.008854, allocations: 43.64 kB / 1.008 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.008903, allocations: 41.7 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.009004, allocations: 334.8 kB / 1.009 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.009114, allocations: 117.7 kB / 1.009 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.009246, allocations: 210.2 kB / 1.009 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.009442, allocations: 256.7 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.009446, allocations: 4 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005775/0.01002, allocations: 368.8 kB / 1.009 GB, free: 4.148 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.01005, allocations: 37.7 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01005, allocations: 4 kB / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.01007, allocations: 0 / 1.009 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.01014, allocations: 27.92 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.01015, allocations: 12.02 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.01021, allocations: 19.89 kB / 1.01 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.01022, allocations: 11.98 kB / 1.01 GB, free: 4.031 MB / 0.9636 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.0001133/0.01034, allocations: 194 kB / 1.01 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.01036, allocations: 27.81 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.01039, allocations: 37.7 kB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01039, allocations: 0 / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.0104, allocations: 0 / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.0104, allocations: 7.984 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.01057, allocations: 232.6 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01057, allocations: 0 / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.01063, allocations: 15.98 kB / 1.01 GB, free: 3.473 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.01063, allocations: 7.984 kB / 1.01 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01065, allocations: 0 / 1.01 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01065, allocations: 4 kB / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01065, allocations: 0 / 1.01 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.01111, allocations: 0.532 MB / 1.011 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.01113, allocations: 23.95 kB / 1.011 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.01116, allocations: 8 kB / 1.011 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.01121, allocations: 11.98 kB / 1.011 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.01127, allocations: 23.95 kB / 1.011 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.01128, allocations: 8 kB / 1.011 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001187/0.0114, allocations: 201.2 kB / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0114, allocations: 0 / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001763/0.01158, allocations: 60.08 kB / 1.011 GB, free: 2.562 MB / 0.9636 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.0006649/0.01224, allocations: 1.109 MB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.01253, allocations: 330.6 kB / 1.012 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01254, allocations: 3.938 kB / 1.012 GB, free: 1.055 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.01266, allocations: 189 kB / 1.012 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.01284, allocations: 34.23 kB / 1.012 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.01504, allocations: 2.934 MB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.141e-05/0.01512, allocations: 144.8 kB / 1.015 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5e-05/0.01517, allocations: 17.48 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.01525, allocations: 72.47 kB / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of SimCode: time 7.72e-07/0.01525, allocations: 0 / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07893/0.09418, allocations: 6.23 MB / 1.022 GB, free: 7.449 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.125, allocations: 0.5 kB / 1.022 GB, free: 7.449 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.800346272997558]