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.001031/0.001031, allocations: 105.6 kB / 16.35 MB, free: 5.824 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.0009888/0.0009888, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.15 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.8481/0.8481, allocations: 143.1 MB / 434.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 0.5156 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3372, allocations: 82.04 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002654/0.3399, allocations: 1.946 MB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.3408, allocations: 0.7059 MB / 0.5983 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-05/0.3409, allocations: 3.938 kB / 0.5983 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.3411, allocations: 84.95 kB / 0.5984 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3413, allocations: 97.06 kB / 0.5985 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.3418, allocations: 188 kB / 0.5986 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.342, allocations: 264.9 kB / 0.5989 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3422, allocations: 77.77 kB / 0.599 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3423, allocations: 115.6 kB / 0.5991 GB, free: 12.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3425, allocations: 149 kB / 0.5992 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3425, allocations: 23.94 kB / 0.5992 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.3426, allocations: 95.92 kB / 0.5993 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.3427, allocations: 52.77 kB / 0.5994 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.328e-05/0.3428, allocations: 115.3 kB / 0.5995 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.343, allocations: 316.1 kB / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.343, allocations: 0 / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3431, allocations: 0 / 0.5998 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3431, allocations: 1.5 kB / 0.5998 GB, free: 11.97 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.0006306/0.3437, allocations: 0.574 MB / 0.6004 GB, free: 11.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.3437, allocations: 8.031 kB / 0.6004 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.3438, allocations: 32.56 kB / 0.6004 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.3442, allocations: 297.5 kB / 0.6007 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3442, allocations: 16.38 kB / 0.6007 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.3443, allocations: 16.31 kB / 0.6007 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.3446, allocations: 230.1 kB / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3446, allocations: 0 / 0.6009 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.3446, allocations: 8 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3446, allocations: 1.344 kB / 0.6009 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3448, allocations: 128.3 kB / 0.6011 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.3454, allocations: 0.6803 MB / 0.6017 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.3457, allocations: 175.9 kB / 0.6019 GB, free: 9.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3459, allocations: 94.14 kB / 0.602 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.3459, allocations: 7.984 kB / 0.602 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.3461, allocations: 169.9 kB / 0.6021 GB, free: 9.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3461, allocations: 0.9375 kB / 0.6021 GB, free: 9.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005357/0.3467, allocations: 372 kB / 0.6025 GB, free: 9.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.3467, allocations: 136.5 kB / 0.6026 GB, free: 8.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3469, allocations: 280.1 kB / 0.6029 GB, free: 8.559 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.347, allocations: 33.7 kB / 0.6029 GB, free: 8.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.347, allocations: 156.2 kB / 0.6031 GB, free: 8.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.3471, allocations: 48.78 kB / 0.6031 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.895e-05/0.3471, allocations: 41.8 kB / 0.6032 GB, free: 8.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.3472, allocations: 340.2 kB / 0.6035 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3473, allocations: 87.91 kB / 0.6036 GB, free: 7.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3475, allocations: 134.4 kB / 0.6037 GB, free: 7.695 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.3477, allocations: 239.2 kB / 0.6039 GB, free: 7.441 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3477, allocations: 0.9688 kB / 0.6039 GB, free: 7.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003948/0.3481, allocations: 336.3 kB / 0.6043 GB, free: 7.102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.3482, allocations: 39.73 kB / 0.6043 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3482, allocations: 7.984 kB / 0.6043 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3482, allocations: 5.281 kB / 0.6043 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3483, allocations: 27.92 kB / 0.6043 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3484, allocations: 0 / 0.6043 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3485, allocations: 28.55 kB / 0.6044 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3485, allocations: 5 kB / 0.6044 GB, free: 6.988 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.0001225/0.3486, allocations: 198.7 kB / 0.6046 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3487, allocations: 29.08 kB / 0.6046 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.3487, allocations: 33.83 kB / 0.6046 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3487, allocations: 0 / 0.6046 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3487, allocations: 0 / 0.6046 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3487, allocations: 1.219 kB / 0.6046 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3489, allocations: 293.3 kB / 0.6049 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3489, allocations: 0 / 0.6049 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.349, allocations: 21.8 kB / 0.6049 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.349, allocations: 4 kB / 0.6049 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.349, allocations: 0 / 0.6049 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.349, allocations: 4 kB / 0.6049 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3491, allocations: 0 / 0.6049 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.3496, allocations: 468.9 kB / 0.6054 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.3497, allocations: 100.8 kB / 0.6055 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3497, allocations: 8.812 kB / 0.6055 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.3498, allocations: 12.83 kB / 0.6055 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.3499, allocations: 23.95 kB / 0.6055 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3499, allocations: 9.094 kB / 0.6055 GB, free: 5.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.3501, allocations: 201.9 kB / 0.6057 GB, free: 5.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3501, allocations: 4 kB / 0.6057 GB, free: 5.508 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3503, allocations: 53.38 kB / 0.6058 GB, free: 5.457 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.0001638/0.3505, allocations: 141.5 kB / 0.6059 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000369/0.3509, allocations: 288.7 kB / 0.6062 GB, free: 5.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3509, allocations: 6.688 kB / 0.6062 GB, free: 5.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.351, allocations: 191.3 kB / 0.6064 GB, free: 4.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.3513, allocations: 32.53 kB / 0.6064 GB, free: 4.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.3521, allocations: 472.6 kB / 0.6068 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.3523, allocations: 0.7461 MB / 0.6076 GB, free: 3.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.3524, allocations: 23.44 kB / 0.6076 GB, free: 3.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.3524, allocations: 24.09 kB / 0.6076 GB, free: 3.488 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3524, allocations: 0 / 0.6076 GB, free: 3.488 MB / 446.1 MB Notification: Performance of Templates: time 0.005126/0.3575, allocations: 2.833 MB / 0.6104 GB, free: 0.7227 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)