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.8038/0.8038, allocations: 133.7 MB / 148.6 MB, free: 13.63 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.001225/0.001225, allocations: 175 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.706/1.706, allocations: 170.7 MB / 383.7 MB, free: 16.12 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.001618/0.001618, allocations: 108.9 kB / 454.6 MB, free: 9.73 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.2206/0.2212, allocations: 73.4 MB / 0.6812 GB, free: 5.574 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.607/0.8282, allocations: 104.3 MB / 0.7831 GB, free: 22.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004187/0.8287, allocations: 81.72 kB / 0.7831 GB, free: 22.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.8461, allocations: 5.481 MB / 0.7885 GB, free: 19.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.027e-06/0.8461, allocations: 0 / 0.7885 GB, free: 19.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.8462, allocations: 4.844 kB / 0.7885 GB, free: 19.32 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.0009346/0.8471, allocations: 0.5773 MB / 0.789 GB, free: 18.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.8472, allocations: 8.562 kB / 0.7891 GB, free: 18.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.452e-05/0.8473, allocations: 27.16 kB / 0.7891 GB, free: 18.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.8478, allocations: 266.6 kB / 0.7893 GB, free: 18.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.8478, allocations: 12.5 kB / 0.7893 GB, free: 18.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.8478, allocations: 11 kB / 0.7894 GB, free: 18.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.8483, allocations: 195.3 kB / 0.7895 GB, free: 18.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.8483, allocations: 0 / 0.7895 GB, free: 18.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.8484, allocations: 15.25 kB / 0.7896 GB, free: 18.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.8484, allocations: 4 kB / 0.7896 GB, free: 18.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.8487, allocations: 142.6 kB / 0.7897 GB, free: 18.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.8496, allocations: 0.5416 MB / 0.7902 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.8501, allocations: 215.3 kB / 0.7904 GB, free: 17.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.8502, allocations: 0 / 0.7904 GB, free: 17.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.8505, allocations: 198.4 kB / 0.7906 GB, free: 17.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.8505, allocations: 0 / 0.7906 GB, free: 17.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009443/0.8515, allocations: 0.5047 MB / 0.7911 GB, free: 17.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.418e-05/0.8515, allocations: 86.61 kB / 0.7912 GB, free: 16.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.8518, allocations: 232.2 kB / 0.7914 GB, free: 16.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.8518, allocations: 37.7 kB / 0.7915 GB, free: 16.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.852, allocations: 145.5 kB / 0.7916 GB, free: 16.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.852, allocations: 41.53 kB / 0.7916 GB, free: 16.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.852, allocations: 4 kB / 0.7916 GB, free: 16.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.8521, allocations: 337.6 kB / 0.792 GB, free: 16.31 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.8523, allocations: 105.1 kB / 0.7921 GB, free: 16.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.8526, allocations: 119.6 kB / 0.7922 GB, free: 16.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.8528, allocations: 133.3 kB / 0.7923 GB, free: 16.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8528, allocations: 0 / 0.7923 GB, free: 16.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005914/0.8534, allocations: 371.4 kB / 0.7927 GB, free: 15.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.509e-05/0.8535, allocations: 41.64 kB / 0.7927 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8535, allocations: 0 / 0.7927 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.8535, allocations: 0 / 0.7927 GB, free: 15.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.8536, allocations: 24.41 kB / 0.7927 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8537, allocations: 0 / 0.7927 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.8538, allocations: 37.34 kB / 0.7928 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.8538, allocations: 8 kB / 0.7928 GB, free: 15.68 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 () * Number of clocked 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.0001624/0.854, allocations: 188.5 kB / 0.7929 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.854, allocations: 24.8 kB / 0.793 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.852e-05/0.8541, allocations: 27.2 kB / 0.793 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.8541, allocations: 0 / 0.793 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8541, allocations: 0 / 0.793 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.8541, allocations: 8.984 kB / 0.793 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.8544, allocations: 280.1 kB / 0.7933 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.8544, allocations: 0 / 0.7933 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.8546, allocations: 23.25 kB / 0.7933 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8546, allocations: 0 / 0.7933 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.8546, allocations: 4 kB / 0.7933 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.8546, allocations: 5.734 kB / 0.7933 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8546, allocations: 0 / 0.7933 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009141/0.8555, allocations: 0.5291 MB / 0.7938 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.8556, allocations: 104.8 kB / 0.7939 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.8557, allocations: 4.688 kB / 0.7939 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.8558, allocations: 25.44 kB / 0.7939 GB, free: 14.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8559, allocations: 26.27 kB / 0.794 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.8559, allocations: 10.81 kB / 0.794 GB, free: 14.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.8561, allocations: 195.9 kB / 0.7942 GB, free: 14.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8561, allocations: 0 / 0.7942 GB, free: 14.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.8565, allocations: 56.62 kB / 0.7942 GB, free: 14.46 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) * Number of clocked states: 0 () * 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.0002604/0.8568, allocations: 130.1 kB / 0.7943 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.8573, allocations: 274.6 kB / 0.7946 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8573, allocations: 0 / 0.7946 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.8575, allocations: 169.9 kB / 0.7948 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.8579, allocations: 31.38 kB / 0.7948 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.8589, allocations: 497.9 kB / 0.7953 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.8592, allocations: 0.7476 MB / 0.796 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.79e-05/0.8592, allocations: 16.64 kB / 0.796 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.8593, allocations: 19.38 kB / 0.796 GB, free: 12.71 MB / 490.7 MB Notification: Performance of SimCode: time 2.2e-07/0.8593, allocations: 0 / 0.796 GB, free: 12.71 MB / 490.7 MB Notification: Performance of Templates: time 0.005609/0.8649, allocations: 1.99 MB / 0.798 GB, free: 10.75 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)