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.7165/0.7165, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.0009856/0.0009856, allocations: 180.3 kB / 176.9 MB, free: 2.195 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.178/1.178, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001602/0.001602, allocations: 113.2 kB / 450 MB, free: 5.84 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.3851/0.3852, allocations: 73.39 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1279/0.5131, allocations: 104.2 MB / 0.7754 GB, free: 12.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5134, allocations: 79.95 kB / 0.7755 GB, free: 12.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01568/0.5291, allocations: 5.477 MB / 0.7808 GB, free: 6.969 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5292, allocations: 0 / 0.7808 GB, free: 6.969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.5292, allocations: 4 kB / 0.7808 GB, free: 6.965 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.0007305/0.5299, allocations: 0.5368 MB / 0.7813 GB, free: 6.375 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.53, allocations: 8.031 kB / 0.7814 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.53, allocations: 30.47 kB / 0.7814 GB, free: 6.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.5304, allocations: 265.9 kB / 0.7816 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.5305, allocations: 8.234 kB / 0.7816 GB, free: 6.035 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.5305, allocations: 12 kB / 0.7817 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.5308, allocations: 178.4 kB / 0.7818 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5308, allocations: 7.938 kB / 0.7818 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.5309, allocations: 7.562 kB / 0.7818 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5309, allocations: 0 / 0.7818 GB, free: 5.836 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.5311, allocations: 120.4 kB / 0.782 GB, free: 5.719 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000856/0.532, allocations: 0.5477 MB / 0.7825 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.5322, allocations: 150.5 kB / 0.7826 GB, free: 4.965 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.5324, allocations: 92.97 kB / 0.7827 GB, free: 4.871 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.5324, allocations: 3.953 kB / 0.7827 GB, free: 4.867 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.5326, allocations: 165 kB / 0.7829 GB, free: 4.688 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.5326, allocations: 0 / 0.7829 GB, free: 4.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005376/0.5332, allocations: 307.7 kB / 0.7832 GB, free: 4.375 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.5333, allocations: 81.11 kB / 0.7833 GB, free: 4.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.5335, allocations: 230.9 kB / 0.7835 GB, free: 4.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.5335, allocations: 29.7 kB / 0.7835 GB, free: 4.016 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.5336, allocations: 147.9 kB / 0.7836 GB, free: 3.867 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5337, allocations: 43.5 kB / 0.7837 GB, free: 3.824 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.5337, allocations: 2.25 kB / 0.7837 GB, free: 3.824 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5339, allocations: 338.8 kB / 0.784 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.534, allocations: 75.97 kB / 0.7841 GB, free: 3.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.5341, allocations: 101.7 kB / 0.7842 GB, free: 3.305 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.5343, allocations: 103.5 kB / 0.7843 GB, free: 3.199 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5343, allocations: 4 kB / 0.7843 GB, free: 3.195 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000437/0.5347, allocations: 328.7 kB / 0.7846 GB, free: 2.863 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.5348, allocations: 41.64 kB / 0.7846 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5348, allocations: 0 / 0.7846 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5348, allocations: 0 / 0.7846 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.535, allocations: 27.92 kB / 0.7847 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.535, allocations: 0 / 0.7847 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.5351, allocations: 35.95 kB / 0.7847 GB, free: 2.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.5352, allocations: 8 kB / 0.7847 GB, free: 2.746 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.000116/0.5353, allocations: 144.2 kB / 0.7848 GB, free: 2.594 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.5353, allocations: 23.72 kB / 0.7849 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.5354, allocations: 37.89 kB / 0.7849 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5354, allocations: 4 kB / 0.7849 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5354, allocations: 4 kB / 0.7849 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5354, allocations: 112 / 0.7849 GB, free: 2.527 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.5357, allocations: 281.5 kB / 0.7852 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5357, allocations: 0 / 0.7852 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.5358, allocations: 27.3 kB / 0.7852 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5358, allocations: 0 / 0.7852 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.5358, allocations: 7.469 kB / 0.7852 GB, free: 2.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.5359, allocations: 7.953 kB / 0.7852 GB, free: 2.168 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5359, allocations: 3.984 kB / 0.7852 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.5366, allocations: 470.4 kB / 0.7857 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.5366, allocations: 104.8 kB / 0.7858 GB, free: 1.559 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.5367, allocations: 4 kB / 0.7858 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.5368, allocations: 23.98 kB / 0.7858 GB, free: 1.531 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.5369, allocations: 39.89 kB / 0.7858 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.5369, allocations: 8 kB / 0.7858 GB, free: 1.484 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.5371, allocations: 191.1 kB / 0.786 GB, free: 1.297 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5371, allocations: 0 / 0.786 GB, free: 1.297 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.5374, allocations: 51.94 kB / 0.7861 GB, free: 1.246 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.0001869/0.5376, allocations: 127.2 kB / 0.7862 GB, free: 1.113 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.5379, allocations: 231.3 kB / 0.7864 GB, free: 0.875 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5379, allocations: 4.062 kB / 0.7864 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.5381, allocations: 147.4 kB / 0.7866 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.5383, allocations: 24.48 kB / 0.7866 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.539, allocations: 336.8 kB / 0.7869 GB, free: 352 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.5393, allocations: 0.7516 MB / 0.7876 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.365e-05/0.5394, allocations: 12.77 kB / 0.7876 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.5394, allocations: 15.44 kB / 0.7877 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.5394, allocations: 0 / 0.7877 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.004652/0.5441, allocations: 1.999 MB / 0.7896 GB, free: 13.58 MB / 0.4948 GB 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)