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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8821/0.8821, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001667/0.001667, allocations: 184 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 94.39 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.609e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1689, allocations: 76.75 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.619/0.7879, allocations: 105.7 MB / 0.7314 GB, free: 7.695 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.7882, allocations: 84.94 kB / 0.7315 GB, free: 7.645 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01659/0.8048, allocations: 5.822 MB / 0.7372 GB, free: 2.656 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8049, allocations: 4 kB / 0.7372 GB, free: 2.652 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.8049, allocations: 8 kB / 0.7372 GB, free: 2.645 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.0008274/0.8057, allocations: 0.5525 MB / 0.7377 GB, free: 2.059 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.8058, allocations: 8.031 kB / 0.7377 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.8059, allocations: 35.58 kB / 0.7378 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.8063, allocations: 284.6 kB / 0.738 GB, free: 1.719 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.8064, allocations: 11.81 kB / 0.7381 GB, free: 1.711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.605e-05/0.8064, allocations: 14.5 kB / 0.7381 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.8068, allocations: 246.8 kB / 0.7383 GB, free: 1.484 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.8068, allocations: 4 kB / 0.7383 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.8069, allocations: 3.188 kB / 0.7383 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.8069, allocations: 4 kB / 0.7383 GB, free: 1.477 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.8071, allocations: 142.4 kB / 0.7384 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.8081, allocations: 0.7355 MB / 0.7392 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.8084, allocations: 158 kB / 0.7393 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.8085, allocations: 106.1 kB / 0.7394 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.8086, allocations: 3.984 kB / 0.7394 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.8088, allocations: 188.2 kB / 0.7396 GB, free: 324 kB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.8088, allocations: 0 / 0.7396 GB, free: 324 kB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006038/0.8094, allocations: 338.9 kB / 0.7399 GB, free: 24 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.8096, allocations: 136.5 kB / 0.7401 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.8098, allocations: 250.6 kB / 0.7403 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.8098, allocations: 29.64 kB / 0.7403 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.81, allocations: 155 kB / 0.7405 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.81, allocations: 46.44 kB / 0.7405 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.81, allocations: 4 kB / 0.7405 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8102, allocations: 344.6 kB / 0.7408 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.8103, allocations: 87.59 kB / 0.7409 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.8105, allocations: 147.2 kB / 0.7411 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.8107, allocations: 122.8 kB / 0.7412 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8107, allocations: 3.938 kB / 0.7412 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005371/0.8112, allocations: 369.4 kB / 0.7415 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.8113, allocations: 37.69 kB / 0.7416 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.8113, allocations: 4 kB / 0.7416 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8113, allocations: 96 / 0.7416 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.8115, allocations: 35.95 kB / 0.7416 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.8115, allocations: 4 kB / 0.7416 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.8117, allocations: 47.06 kB / 0.7417 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.8117, allocations: 15.88 kB / 0.7417 GB, free: 14.38 MB / 0.4948 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 ($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.0001266/0.8118, allocations: 159.9 kB / 0.7418 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.8119, allocations: 23.72 kB / 0.7419 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.812, allocations: 32.5 kB / 0.7419 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.812, allocations: 4 kB / 0.7419 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.812, allocations: 0 / 0.7419 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.812, allocations: 0 / 0.7419 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.8123, allocations: 302.9 kB / 0.7422 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8123, allocations: 4 kB / 0.7422 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.8124, allocations: 19.98 kB / 0.7422 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8124, allocations: 4 kB / 0.7422 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.8124, allocations: 4 kB / 0.7422 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8124, allocations: 0 / 0.7422 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8124, allocations: 0 / 0.7422 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007615/0.8132, allocations: 0.522 MB / 0.7427 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.8133, allocations: 104.6 kB / 0.7428 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.8133, allocations: 7.25 kB / 0.7428 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.8135, allocations: 36.03 kB / 0.7429 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.8136, allocations: 23.64 kB / 0.7429 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.8136, allocations: 11.31 kB / 0.7429 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001815/0.8138, allocations: 198.2 kB / 0.7431 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.643e-06/0.8138, allocations: 0 / 0.7431 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002969/0.8141, allocations: 75.33 kB / 0.7432 GB, free: 12.98 MB / 0.4948 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 (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.0002234/0.8144, allocations: 143.5 kB / 0.7433 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.8147, allocations: 277.6 kB / 0.7436 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8147, allocations: 0 / 0.7436 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.8149, allocations: 172.6 kB / 0.7437 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.8152, allocations: 27.69 kB / 0.7437 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/0.816, allocations: 365.2 kB / 0.7441 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.8163, allocations: 0.7554 MB / 0.7448 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.593e-05/0.8164, allocations: 17.14 kB / 0.7449 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.8165, allocations: 23.42 kB / 0.7449 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.8165, allocations: 0 / 0.7449 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.005766/0.8222, allocations: 2.527 MB / 0.7473 GB, free: 8.824 MB / 0.4948 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)