Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5844/0.5844, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 101.7 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.389e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4395, allocations: 72.29 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5783, allocations: 104.6 MB / 0.6624 GB, free: 15.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.5786, allocations: 79.94 kB / 0.6625 GB, free: 15.66 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01667/0.5953, allocations: 5.888 MB / 0.6683 GB, free: 9.785 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5953, allocations: 4 kB / 0.6683 GB, free: 9.781 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.5953, allocations: 4 kB / 0.6683 GB, free: 9.777 MB / 490.7 MB 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.0008725/0.5962, allocations: 0.558 MB / 0.6688 GB, free: 9.168 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.5963, allocations: 11.98 kB / 0.6688 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.5963, allocations: 54.5 kB / 0.6689 GB, free: 9.094 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.5964, allocations: 36.94 kB / 0.6689 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.5969, allocations: 277.6 kB / 0.6692 GB, free: 8.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.5969, allocations: 19.94 kB / 0.6692 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.597, allocations: 16 kB / 0.6692 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.5974, allocations: 239.1 kB / 0.6694 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5974, allocations: 0 / 0.6694 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.5974, allocations: 8 kB / 0.6694 GB, free: 8.441 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.5975, allocations: 7.953 kB / 0.6695 GB, free: 8.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.5977, allocations: 136.4 kB / 0.6696 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/0.5987, allocations: 0.7316 MB / 0.6703 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.5989, allocations: 162.6 kB / 0.6705 GB, free: 7.344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.5991, allocations: 104.8 kB / 0.6706 GB, free: 7.238 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.5991, allocations: 4 kB / 0.6706 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.5994, allocations: 182.2 kB / 0.6707 GB, free: 7.039 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.5994, allocations: 0 / 0.6707 GB, free: 7.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006105/0.6, allocations: 345.6 kB / 0.6711 GB, free: 6.688 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.6001, allocations: 140.5 kB / 0.6712 GB, free: 6.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.6004, allocations: 243.1 kB / 0.6714 GB, free: 6.277 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.6004, allocations: 33.7 kB / 0.6715 GB, free: 6.238 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.6005, allocations: 156.2 kB / 0.6716 GB, free: 6.082 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.6006, allocations: 43.45 kB / 0.6716 GB, free: 6.039 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.6006, allocations: 8 kB / 0.6717 GB, free: 6.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6008, allocations: 334.8 kB / 0.672 GB, free: 5.695 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.6009, allocations: 94.78 kB / 0.6721 GB, free: 5.602 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.6011, allocations: 140.2 kB / 0.6722 GB, free: 5.449 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.6012, allocations: 128.7 kB / 0.6723 GB, free: 5.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6013, allocations: 0 / 0.6723 GB, free: 5.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005202/0.6018, allocations: 370.9 kB / 0.6727 GB, free: 4.945 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.6018, allocations: 37.7 kB / 0.6727 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.6018, allocations: 7.922 kB / 0.6727 GB, free: 4.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6019, allocations: 4 kB / 0.6727 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.602, allocations: 27.92 kB / 0.6728 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.602, allocations: 8.094 kB / 0.6728 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.6022, allocations: 39.81 kB / 0.6728 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.6023, allocations: 12 kB / 0.6728 GB, free: 4.805 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.6024, allocations: 151.4 kB / 0.673 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.6024, allocations: 31.72 kB / 0.673 GB, free: 4.613 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.6025, allocations: 29.95 kB / 0.673 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6025, allocations: 0 / 0.673 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.6025, allocations: 0 / 0.673 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6025, allocations: 0 / 0.673 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.6028, allocations: 309.3 kB / 0.6733 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6028, allocations: 0 / 0.6733 GB, free: 4.234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.603, allocations: 23.92 kB / 0.6733 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.603, allocations: 4 kB / 0.6733 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.603, allocations: 12 kB / 0.6733 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.603, allocations: 0 / 0.6733 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.603, allocations: 0 / 0.6733 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007751/0.6038, allocations: 0.5215 MB / 0.6739 GB, free: 3.648 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.6039, allocations: 92.86 kB / 0.6739 GB, free: 3.539 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.6039, allocations: 16.78 kB / 0.674 GB, free: 3.523 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.6041, allocations: 36.03 kB / 0.674 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/0.6042, allocations: 27.95 kB / 0.674 GB, free: 3.461 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.6042, allocations: 12 kB / 0.674 GB, free: 3.449 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.6044, allocations: 203.1 kB / 0.6742 GB, free: 3.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6044, allocations: 0 / 0.6742 GB, free: 3.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.6047, allocations: 68 kB / 0.6743 GB, free: 3.184 MB / 490.7 MB 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 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009266/0.6056, allocations: 1.014 MB / 0.6753 GB, free: 2.137 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.606, allocations: 264.2 kB / 0.6755 GB, free: 1.867 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.606, allocations: 4 kB / 0.6755 GB, free: 1.863 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.6062, allocations: 175.3 kB / 0.6757 GB, free: 1.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.6065, allocations: 43.53 kB / 0.6757 GB, free: 1.645 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.6075, allocations: 421.6 kB / 0.6761 GB, free: 1.199 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6078, allocations: 0.7674 MB / 0.6769 GB, free: 416 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.6079, allocations: 17.2 kB / 0.6769 GB, free: 400 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.608, allocations: 67.41 kB / 0.677 GB, free: 332 kB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.608, allocations: 0 / 0.677 GB, free: 332 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.6254, allocations: 4.882 MB / 0.6817 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.6257, allocations: 154 kB / 0.6819 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.839, allocations: 0 / 0.6819 GB, free: 11.39 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)