Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8609/0.8609, allocations: 132.4 MB / 139.9 MB, free: 2.816 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0014/0.001399, allocations: 172.1 kB / 171.8 MB, free: 4.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.584/1.584, allocations: 170.6 MB / 374.2 MB, free: 156 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00146/0.001459, allocations: 119.7 kB / 444.8 MB, free: 14.13 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.188/0.1881, allocations: 73.41 MB / 0.6666 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5914/0.7795, allocations: 103.6 MB / 0.7678 GB, free: 12.04 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.7799, allocations: 79.95 kB / 0.7678 GB, free: 11.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01554/0.7954, allocations: 5.435 MB / 0.7731 GB, free: 6.547 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.7955, allocations: 0 / 0.7731 GB, free: 6.547 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.7955, allocations: 4 kB / 0.7731 GB, free: 6.543 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007968/0.7963, allocations: 0.5355 MB / 0.7737 GB, free: 5.953 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.7964, allocations: 8.031 kB / 0.7737 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.453e-05/0.7965, allocations: 23.72 kB / 0.7737 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.7969, allocations: 269.9 kB / 0.774 GB, free: 5.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.7969, allocations: 11.95 kB / 0.774 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.7969, allocations: 8 kB / 0.774 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002583/0.7972, allocations: 116.2 kB / 0.7741 GB, free: 5.488 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.7975, allocations: 155 kB / 0.7742 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.7975, allocations: 0 / 0.7742 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.7975, allocations: 0 / 0.7742 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.7975, allocations: 7.984 kB / 0.7742 GB, free: 5.324 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000783/0.7983, allocations: 0.5051 MB / 0.7747 GB, free: 4.781 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.7986, allocations: 146.5 kB / 0.7749 GB, free: 4.629 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.7987, allocations: 80.97 kB / 0.7749 GB, free: 4.547 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.7987, allocations: 7.953 kB / 0.775 GB, free: 4.539 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.799, allocations: 169.8 kB / 0.7751 GB, free: 4.355 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.799, allocations: 4 kB / 0.7751 GB, free: 4.352 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005602/0.7995, allocations: 262.4 kB / 0.7754 GB, free: 4.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.7996, allocations: 81.11 kB / 0.7755 GB, free: 3.992 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.7998, allocations: 216.3 kB / 0.7757 GB, free: 3.773 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.7999, allocations: 29.7 kB / 0.7757 GB, free: 3.738 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.8, allocations: 148.3 kB / 0.7758 GB, free: 3.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.8, allocations: 35.55 kB / 0.7759 GB, free: 3.555 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.8, allocations: 7.938 kB / 0.7759 GB, free: 3.547 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8002, allocations: 338.8 kB / 0.7762 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.8003, allocations: 79.91 kB / 0.7763 GB, free: 3.129 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.8004, allocations: 97.69 kB / 0.7764 GB, free: 3.027 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.8005, allocations: 71.95 kB / 0.7764 GB, free: 2.957 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8005, allocations: 4 kB / 0.7764 GB, free: 2.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004102/0.801, allocations: 278.5 kB / 0.7767 GB, free: 2.676 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.801, allocations: 37.66 kB / 0.7767 GB, free: 2.633 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.801, allocations: 4 kB / 0.7767 GB, free: 2.629 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.801, allocations: 8.031 kB / 0.7767 GB, free: 2.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.8012, allocations: 31.92 kB / 0.7768 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.8012, allocations: 0 / 0.7768 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.8014, allocations: 27.88 kB / 0.7768 GB, free: 2.562 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.8014, allocations: 8 kB / 0.7768 GB, free: 2.555 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001069/0.8015, allocations: 145.2 kB / 0.7769 GB, free: 2.402 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.8015, allocations: 19.81 kB / 0.777 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.8016, allocations: 29.91 kB / 0.777 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8016, allocations: 4 kB / 0.777 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8016, allocations: 0 / 0.777 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8016, allocations: 0 / 0.777 GB, free: 2.352 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.8019, allocations: 258 kB / 0.7772 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8019, allocations: 0 / 0.7772 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.802, allocations: 27.92 kB / 0.7773 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.802, allocations: 0 / 0.7773 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.802, allocations: 4 kB / 0.7773 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.802, allocations: 0 / 0.7773 GB, free: 2.031 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.802, allocations: 3.953 kB / 0.7773 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.8027, allocations: 426 kB / 0.7777 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.8027, allocations: 104.7 kB / 0.7778 GB, free: 1.473 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.8028, allocations: 8.062 kB / 0.7778 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.8029, allocations: 23.97 kB / 0.7778 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.803, allocations: 19.97 kB / 0.7778 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.803, allocations: 15.95 kB / 0.7779 GB, free: 1.406 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.8032, allocations: 168.5 kB / 0.778 GB, free: 1.238 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8032, allocations: 0 / 0.778 GB, free: 1.238 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.8035, allocations: 63.83 kB / 0.7781 GB, free: 1.176 MB / 474.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: 7 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent) * Number of discrete states: 7 (ySet.last,ySet.nextEvent,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0001994/0.8037, allocations: 123.2 kB / 0.7782 GB, free: 1.043 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.804, allocations: 217 kB / 0.7784 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.804, allocations: 0 / 0.7784 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.8041, allocations: 147.4 kB / 0.7785 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.8043, allocations: 27.77 kB / 0.7786 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/0.8051, allocations: 327 kB / 0.7789 GB, free: 312 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.8054, allocations: 0.7509 MB / 0.7796 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.407e-05/0.8055, allocations: 12.88 kB / 0.7796 GB, free: 15.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.8055, allocations: 11.44 kB / 0.7796 GB, free: 15.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8056, allocations: 0 / 0.7796 GB, free: 15.5 MB / 490.7 MB Notification: Performance of Templates: time 0.004704/0.8103, allocations: 1.873 MB / 0.7815 GB, free: 13.64 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)