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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.2364/0.2385, allocations: 80.83 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003882/0.2425, allocations: 1.952 MB / 0.6725 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2441, allocations: 0.7489 MB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2442, allocations: 7.938 kB / 0.6733 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.2445, allocations: 83.64 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.2447, allocations: 91.61 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.2454, allocations: 186.9 kB / 0.6736 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.2458, allocations: 267.2 kB / 0.6739 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.246, allocations: 65.89 kB / 0.6739 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2462, allocations: 115.7 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2464, allocations: 159.5 kB / 0.6742 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.2465, allocations: 20 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.2467, allocations: 91.92 kB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2468, allocations: 67.72 kB / 0.6744 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2469, allocations: 103.3 kB / 0.6745 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.2473, allocations: 311 kB / 0.6748 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2473, allocations: 0 / 0.6748 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2473, allocations: 0 / 0.6748 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.2473, allocations: 0 / 0.6748 GB, free: 13.76 MB / 0.5137 GB 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.0009724/0.2483, allocations: 0.5858 MB / 0.6753 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.2484, allocations: 8.031 kB / 0.6753 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.2485, allocations: 36.56 kB / 0.6754 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.2491, allocations: 302.9 kB / 0.6757 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.2491, allocations: 12.12 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.2491, allocations: 16 kB / 0.6757 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.2496, allocations: 223.1 kB / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2496, allocations: 4 kB / 0.6759 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.2496, allocations: 8 kB / 0.6759 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2496, allocations: 4 kB / 0.6759 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.2499, allocations: 128.4 kB / 0.676 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009403/0.2508, allocations: 0.6885 MB / 0.6767 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.2512, allocations: 158.8 kB / 0.6769 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.2514, allocations: 96.77 kB / 0.6769 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2515, allocations: 0 / 0.6769 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002957/0.2518, allocations: 173 kB / 0.6771 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.2518, allocations: 0 / 0.6771 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0007217/0.2525, allocations: 378.1 kB / 0.6775 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2526, allocations: 132.5 kB / 0.6776 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.2529, allocations: 282.6 kB / 0.6779 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.253, allocations: 33.7 kB / 0.6779 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.2531, allocations: 160.3 kB / 0.6781 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.2532, allocations: 39.44 kB / 0.6781 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.2532, allocations: 45.56 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2534, allocations: 346.7 kB / 0.6785 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2536, allocations: 79.97 kB / 0.6785 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.2537, allocations: 137.1 kB / 0.6787 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.2541, allocations: 242.1 kB / 0.6789 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2541, allocations: 0 / 0.6789 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005105/0.2546, allocations: 338.9 kB / 0.6792 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.2547, allocations: 33.7 kB / 0.6793 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2547, allocations: 0 / 0.6793 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2547, allocations: 4.094 kB / 0.6793 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.2548, allocations: 23.92 kB / 0.6793 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2549, allocations: 4 kB / 0.6793 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.255, allocations: 27.77 kB / 0.6793 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.255, allocations: 12.09 kB / 0.6793 GB, free: 8.73 MB / 0.5137 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 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.2552, allocations: 187.5 kB / 0.6795 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.2553, allocations: 27.72 kB / 0.6795 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.2553, allocations: 29.83 kB / 0.6796 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2553, allocations: 0 / 0.6796 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.2554, allocations: 4 kB / 0.6796 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2554, allocations: 7.922 kB / 0.6796 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.2557, allocations: 293.4 kB / 0.6799 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2557, allocations: 4 kB / 0.6799 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.2558, allocations: 15.98 kB / 0.6799 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2558, allocations: 0 / 0.6799 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.2558, allocations: 8 kB / 0.6799 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2558, allocations: 0 / 0.6799 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2558, allocations: 0 / 0.6799 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.2566, allocations: 470.3 kB / 0.6803 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.2567, allocations: 96.8 kB / 0.6804 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.2567, allocations: 8 kB / 0.6804 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2569, allocations: 15.92 kB / 0.6804 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.257, allocations: 35.89 kB / 0.6805 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.2571, allocations: 4 kB / 0.6805 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002367/0.2573, allocations: 202 kB / 0.6807 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2573, allocations: 0 / 0.6807 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003215/0.2576, allocations: 64.02 kB / 0.6807 GB, free: 7.176 MB / 0.5137 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 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002698/0.2579, allocations: 139.2 kB / 0.6809 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.2585, allocations: 287.2 kB / 0.6811 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2585, allocations: 0 / 0.6811 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.2588, allocations: 187.3 kB / 0.6813 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.2591, allocations: 33.02 kB / 0.6814 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2603, allocations: 480.3 kB / 0.6818 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.2608, allocations: 0.7514 MB / 0.6825 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.529e-05/0.2609, allocations: 25.53 kB / 0.6826 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.261, allocations: 15.44 kB / 0.6826 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of SimCode: time 1.81e-07/0.261, allocations: 0 / 0.6826 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of Templates: time 0.007455/0.2684, allocations: 2.84 MB / 0.6854 GB, free: 2.379 MB / 0.5137 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)