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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001033, allocations: 110.4 kB / 16.37 MB, free: 6.012 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.0009734/0.0009733, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8269/0.8269, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.88 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3753, allocations: 82.03 MB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002851/0.3782, allocations: 1.951 MB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.3792, allocations: 0.7077 MB / 0.5983 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/0.3793, allocations: 7.938 kB / 0.5983 GB, free: 13.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.3795, allocations: 76.95 kB / 0.5984 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.3796, allocations: 96.97 kB / 0.5985 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.3801, allocations: 189.6 kB / 0.5986 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002272/0.3803, allocations: 257.8 kB / 0.5989 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3805, allocations: 81.5 kB / 0.599 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3806, allocations: 115.7 kB / 0.5991 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3808, allocations: 153 kB / 0.5992 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.3808, allocations: 20 kB / 0.5992 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.3809, allocations: 95.86 kB / 0.5993 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.381, allocations: 57.17 kB / 0.5994 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.3811, allocations: 107.3 kB / 0.5995 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3814, allocations: 319 kB / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3814, allocations: 0.7188 kB / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3814, allocations: 0 / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3814, allocations: 5.281 kB / 0.5998 GB, free: 11.96 MB / 446.1 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.0007193/0.3821, allocations: 0.5704 MB / 0.6004 GB, free: 11.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3822, allocations: 8.031 kB / 0.6004 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.3822, allocations: 36.55 kB / 0.6004 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.3827, allocations: 300.7 kB / 0.6007 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3827, allocations: 17.44 kB / 0.6007 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3828, allocations: 12.38 kB / 0.6007 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.3831, allocations: 225.5 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3831, allocations: 4 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3831, allocations: 5.469 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3832, allocations: 4 kB / 0.6009 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.3834, allocations: 132.3 kB / 0.6011 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.384, allocations: 0.676 MB / 0.6017 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3843, allocations: 177.3 kB / 0.6019 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3845, allocations: 101 kB / 0.602 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3845, allocations: 1.656 kB / 0.602 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.3847, allocations: 173 kB / 0.6022 GB, free: 9.363 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3847, allocations: 2.469 kB / 0.6022 GB, free: 9.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005393/0.3853, allocations: 371 kB / 0.6025 GB, free: 8.988 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3853, allocations: 136.5 kB / 0.6027 GB, free: 8.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.3856, allocations: 282.6 kB / 0.6029 GB, free: 8.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3856, allocations: 31.05 kB / 0.6029 GB, free: 8.504 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.3857, allocations: 156.2 kB / 0.6031 GB, free: 8.348 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.3857, allocations: 43.45 kB / 0.6031 GB, free: 8.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.3858, allocations: 43.2 kB / 0.6032 GB, free: 8.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.3859, allocations: 334.8 kB / 0.6035 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.386, allocations: 92.45 kB / 0.6036 GB, free: 7.832 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3862, allocations: 136.1 kB / 0.6037 GB, free: 7.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3864, allocations: 238.9 kB / 0.6039 GB, free: 7.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3864, allocations: 0 / 0.6039 GB, free: 7.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003785/0.3868, allocations: 336.1 kB / 0.6043 GB, free: 7.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.3868, allocations: 41.69 kB / 0.6043 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3869, allocations: 0.875 kB / 0.6043 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.3869, allocations: 4 kB / 0.6043 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.387, allocations: 21.39 kB / 0.6043 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.387, allocations: 4 kB / 0.6043 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3871, allocations: 23.83 kB / 0.6044 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3872, allocations: 8.938 kB / 0.6044 GB, free: 6.984 MB / 446.1 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 (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.0001315/0.3873, allocations: 200.5 kB / 0.6046 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.3873, allocations: 23.72 kB / 0.6046 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.3874, allocations: 31.33 kB / 0.6046 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3874, allocations: 4 kB / 0.6046 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3874, allocations: 0 / 0.6046 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3874, allocations: 0.625 kB / 0.6046 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3876, allocations: 293.3 kB / 0.6049 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3876, allocations: 1.625 kB / 0.6049 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.3877, allocations: 19.98 kB / 0.6049 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3877, allocations: 96 / 0.6049 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3877, allocations: 7.938 kB / 0.6049 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3878, allocations: 4.688 kB / 0.6049 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3878, allocations: 0 / 0.6049 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005545/0.3883, allocations: 474.1 kB / 0.6054 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.3884, allocations: 92.86 kB / 0.6055 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.3884, allocations: 9.375 kB / 0.6055 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.3885, allocations: 11.98 kB / 0.6055 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.3886, allocations: 27.91 kB / 0.6055 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.3886, allocations: 13.33 kB / 0.6055 GB, free: 5.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3888, allocations: 198 kB / 0.6057 GB, free: 5.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3888, allocations: 3.938 kB / 0.6057 GB, free: 5.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000267/0.389, allocations: 57.25 kB / 0.6058 GB, free: 5.445 MB / 446.1 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 (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.0001744/0.3892, allocations: 140.7 kB / 0.6059 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.3896, allocations: 297.4 kB / 0.6062 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3896, allocations: 0 / 0.6062 GB, free: 5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.3898, allocations: 184.6 kB / 0.6064 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.3901, allocations: 30.42 kB / 0.6064 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.391, allocations: 476.7 kB / 0.6069 GB, free: 4.293 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.3911, allocations: 0.7511 MB / 0.6076 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.815e-05/0.3912, allocations: 15.83 kB / 0.6076 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.3912, allocations: 23.42 kB / 0.6076 GB, free: 3.484 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3912, allocations: 0 / 0.6076 GB, free: 3.484 MB / 446.1 MB Notification: Performance of Templates: time 0.005427/0.3967, allocations: 2.832 MB / 0.6104 GB, free: 0.7266 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)