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.8523/0.8523, allocations: 132.4 MB / 139.9 MB, free: 15.41 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00113/0.001131, allocations: 170.2 kB / 171.8 MB, free: 2.039 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.519/1.519, allocations: 170.6 MB / 374.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0016/0.0016, allocations: 107.3 kB / 444.8 MB, free: 9.297 MB / 346.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.4773/0.4773, allocations: 73.39 MB / 0.6666 GB, free: 46.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.6248, allocations: 103.6 MB / 0.7677 GB, free: 1.258 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.6251, allocations: 81.09 kB / 0.7678 GB, free: 1.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01794/0.6431, allocations: 5.447 MB / 0.7731 GB, free: 11.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6431, allocations: 0 / 0.7731 GB, free: 11.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.746e-05/0.6432, allocations: 4 kB / 0.7731 GB, free: 11.81 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000969/0.6442, allocations: 0.5477 MB / 0.7737 GB, free: 11.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6442, allocations: 8.031 kB / 0.7737 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.6444, allocations: 33.33 kB / 0.7737 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.6448, allocations: 265.9 kB / 0.774 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.6448, allocations: 4 kB / 0.774 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.6449, allocations: 8 kB / 0.774 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002583/0.6452, allocations: 119.8 kB / 0.7741 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.6454, allocations: 154.5 kB / 0.7742 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6454, allocations: 5.688 kB / 0.7742 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.6455, allocations: 0 / 0.7742 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.6455, allocations: 4 kB / 0.7742 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.6464, allocations: 0.4973 MB / 0.7747 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.6467, allocations: 142.5 kB / 0.7749 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.6468, allocations: 88.95 kB / 0.775 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.6468, allocations: 8 kB / 0.775 GB, free: 9.809 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.6471, allocations: 166.5 kB / 0.7751 GB, free: 9.629 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.6471, allocations: 0 / 0.7751 GB, free: 9.629 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005838/0.6477, allocations: 269.4 kB / 0.7754 GB, free: 9.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.6477, allocations: 77.11 kB / 0.7755 GB, free: 9.266 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.648, allocations: 224.3 kB / 0.7757 GB, free: 9.039 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.648, allocations: 25.7 kB / 0.7757 GB, free: 9.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.6481, allocations: 152.3 kB / 0.7758 GB, free: 8.855 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.6482, allocations: 39.45 kB / 0.7759 GB, free: 8.816 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.6482, allocations: 0 / 0.7759 GB, free: 8.816 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6483, allocations: 331.7 kB / 0.7762 GB, free: 8.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6485, allocations: 80.08 kB / 0.7763 GB, free: 8.406 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.6486, allocations: 97.62 kB / 0.7764 GB, free: 8.305 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.6488, allocations: 81.83 kB / 0.7764 GB, free: 8.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6488, allocations: 0 / 0.7764 GB, free: 8.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004488/0.6492, allocations: 285.2 kB / 0.7767 GB, free: 7.941 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/0.6493, allocations: 35.56 kB / 0.7767 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.6493, allocations: 4 kB / 0.7767 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.6493, allocations: 3.953 kB / 0.7768 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.6495, allocations: 24.83 kB / 0.7768 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6495, allocations: 3.938 kB / 0.7768 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.6496, allocations: 27.92 kB / 0.7768 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.6497, allocations: 12 kB / 0.7768 GB, free: 7.828 MB / 490.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.000143/0.6498, allocations: 139.8 kB / 0.777 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.6499, allocations: 19.81 kB / 0.777 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.6499, allocations: 25.95 kB / 0.777 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.65, allocations: 9.516 kB / 0.777 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.65, allocations: 4 kB / 0.777 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.65, allocations: 0.6562 kB / 0.777 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.6502, allocations: 254 kB / 0.7772 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.6502, allocations: 0 / 0.7772 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.6504, allocations: 19.98 kB / 0.7773 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6504, allocations: 0 / 0.7773 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.6504, allocations: 7.984 kB / 0.7773 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.6504, allocations: 0 / 0.7773 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6504, allocations: 4.594 kB / 0.7773 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006785/0.6511, allocations: 434 kB / 0.7777 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.6512, allocations: 100.8 kB / 0.7778 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.6512, allocations: 5.25 kB / 0.7778 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.6514, allocations: 19.98 kB / 0.7778 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.6514, allocations: 23.95 kB / 0.7778 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.6515, allocations: 13.28 kB / 0.7779 GB, free: 6.691 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001648/0.6517, allocations: 172.5 kB / 0.778 GB, free: 6.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.6517, allocations: 0 / 0.778 GB, free: 6.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.652, allocations: 63.73 kB / 0.7781 GB, free: 6.457 MB / 490.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.0002314/0.6522, allocations: 124.4 kB / 0.7782 GB, free: 6.324 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.6525, allocations: 223.9 kB / 0.7784 GB, free: 6.094 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6525, allocations: 4.062 kB / 0.7784 GB, free: 6.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.6527, allocations: 139.4 kB / 0.7785 GB, free: 5.941 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.6529, allocations: 26.02 kB / 0.7786 GB, free: 5.918 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.6538, allocations: 313.9 kB / 0.7789 GB, free: 5.598 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6542, allocations: 0.7509 MB / 0.7796 GB, free: 4.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.6542, allocations: 16.88 kB / 0.7796 GB, free: 4.801 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.6543, allocations: 11.44 kB / 0.7796 GB, free: 4.789 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6543, allocations: 0 / 0.7796 GB, free: 4.789 MB / 490.7 MB Notification: Performance of Templates: time 0.005176/0.6595, allocations: 1.853 MB / 0.7814 GB, free: 2.984 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)