Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007862/0.007862, allocations: 102.5 kB / 15.74 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 194.7 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.057/1.057, allocations: 143.3 MB / 433.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.89 kB / 0.5953 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4602, allocations: 82.03 MB / 0.6754 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003034/0.4633, allocations: 1.94 MB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.4647, allocations: 0.7058 MB / 0.678 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4648, allocations: 6.625 kB / 0.678 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.4651, allocations: 86.44 kB / 0.6781 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.4653, allocations: 92.47 kB / 0.6782 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.4659, allocations: 194.1 kB / 0.6784 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.4662, allocations: 257.3 kB / 0.6786 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.4664, allocations: 73.53 kB / 0.6787 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.4666, allocations: 117.9 kB / 0.6788 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.4668, allocations: 147.8 kB / 0.6789 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.4669, allocations: 25 kB / 0.6789 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.467, allocations: 97.17 kB / 0.679 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.4671, allocations: 54.03 kB / 0.6791 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4673, allocations: 109.4 kB / 0.6792 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.4677, allocations: 315.5 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4677, allocations: 1.5 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4677, allocations: 4 kB / 0.6795 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4677, allocations: 0 / 0.6795 GB, free: 13.95 MB / 0.5137 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.0009268/0.4687, allocations: 0.5845 MB / 0.6801 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4687, allocations: 9.594 kB / 0.6801 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.4688, allocations: 51.77 kB / 0.6801 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.4688, allocations: 31.75 kB / 0.6802 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.4694, allocations: 310.5 kB / 0.6805 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.4694, allocations: 15.03 kB / 0.6805 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.4695, allocations: 17.31 kB / 0.6805 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.4699, allocations: 230.6 kB / 0.6807 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4699, allocations: 0 / 0.6807 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.4699, allocations: 6.281 kB / 0.6807 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4699, allocations: 3.375 kB / 0.6807 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.4702, allocations: 132.3 kB / 0.6808 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.4711, allocations: 0.6839 MB / 0.6815 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.4715, allocations: 164 kB / 0.6817 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.4717, allocations: 104.2 kB / 0.6818 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.4718, allocations: 1.094 kB / 0.6818 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.4721, allocations: 165.8 kB / 0.6819 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.4721, allocations: 0 / 0.6819 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0007837/0.4729, allocations: 375 kB / 0.6823 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.473, allocations: 136.4 kB / 0.6824 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.4734, allocations: 283.9 kB / 0.6827 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.4734, allocations: 29.7 kB / 0.6827 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.4736, allocations: 158.4 kB / 0.6829 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.4736, allocations: 45.11 kB / 0.6829 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.4737, allocations: 42.02 kB / 0.6829 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.4739, allocations: 341.6 kB / 0.6833 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.4741, allocations: 91.33 kB / 0.6834 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4743, allocations: 138.2 kB / 0.6835 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.4747, allocations: 244.6 kB / 0.6837 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4747, allocations: 1.375 kB / 0.6837 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005642/0.4753, allocations: 337.8 kB / 0.684 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.4754, allocations: 36.56 kB / 0.6841 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4754, allocations: 5.312 kB / 0.6841 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4754, allocations: 1.375 kB / 0.6841 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4756, allocations: 25.8 kB / 0.6841 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.4756, allocations: 6.844 kB / 0.6841 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.4757, allocations: 25.5 kB / 0.6841 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4758, allocations: 6.875 kB / 0.6841 GB, free: 10.25 MB / 0.5137 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.0002105/0.476, allocations: 189.7 kB / 0.6843 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.476, allocations: 28.22 kB / 0.6844 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.4761, allocations: 31.45 kB / 0.6844 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4761, allocations: 1.375 kB / 0.6844 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4761, allocations: 5.375 kB / 0.6844 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.4761, allocations: 0 / 0.6844 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.4765, allocations: 289 kB / 0.6847 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4765, allocations: 1.312 kB / 0.6847 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.4766, allocations: 19.17 kB / 0.6847 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4766, allocations: 1.031 kB / 0.6847 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.4766, allocations: 6.719 kB / 0.6847 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4766, allocations: 1.406 kB / 0.6847 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4766, allocations: 4 kB / 0.6847 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/0.4774, allocations: 475.7 kB / 0.6852 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.4775, allocations: 98.75 kB / 0.6852 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.4775, allocations: 8 kB / 0.6853 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4777, allocations: 16.3 kB / 0.6853 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/0.4777, allocations: 25.73 kB / 0.6853 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.4778, allocations: 4.844 kB / 0.6853 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001993/0.478, allocations: 206.4 kB / 0.6855 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.478, allocations: 0 / 0.6855 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002988/0.4783, allocations: 65.97 kB / 0.6856 GB, free: 9.191 MB / 0.5137 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.001184/0.4795, allocations: 1.023 MB / 0.6866 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.4801, allocations: 297.8 kB / 0.6868 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4801, allocations: 192 / 0.6868 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.4804, allocations: 189.3 kB / 0.687 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.4807, allocations: 32.64 kB / 0.6871 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.4847, allocations: 2.787 MB / 0.6898 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.4852, allocations: 0.7524 MB / 0.6905 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.4853, allocations: 19.16 kB / 0.6905 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.4854, allocations: 73.27 kB / 0.6906 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.4855, allocations: 0 / 0.6906 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06392/0.5494, allocations: 5.419 MB / 0.6959 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.623, allocations: 11.5 kB / 0.6959 GB, free: 0.7148 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)