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.2199/0.2234, allocations: 80.84 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004047/0.2275, allocations: 1.948 MB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.2291, allocations: 0.7489 MB / 0.6733 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2292, allocations: 7.938 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2295, allocations: 87.62 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2297, allocations: 87.64 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.2303, allocations: 187.6 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.2307, allocations: 267.2 kB / 0.6739 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2309, allocations: 65.89 kB / 0.6739 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.231, allocations: 115.7 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.2313, allocations: 159.5 kB / 0.6742 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.2313, allocations: 20 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2315, allocations: 95.88 kB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.2316, allocations: 55.83 kB / 0.6744 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2317, allocations: 111.3 kB / 0.6745 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.2321, allocations: 306.9 kB / 0.6748 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2321, allocations: 0 / 0.6748 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2322, allocations: 4 kB / 0.6748 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2322, allocations: 0 / 0.6748 GB, free: 13.77 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.0009815/0.2332, allocations: 0.5819 MB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.2332, allocations: 12.03 kB / 0.6753 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.1e-05/0.2333, allocations: 28.56 kB / 0.6754 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.2339, allocations: 302.9 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.2339, allocations: 16.12 kB / 0.6757 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.234, allocations: 12 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.2344, allocations: 231.1 kB / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2344, allocations: 0 / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.2345, allocations: 4 kB / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2345, allocations: 4 kB / 0.6759 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.2347, allocations: 136.3 kB / 0.676 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009362/0.2357, allocations: 0.6807 MB / 0.6767 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.236, allocations: 162.5 kB / 0.6769 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.2362, allocations: 105 kB / 0.677 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.2362, allocations: 0 / 0.677 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.2365, allocations: 169 kB / 0.6771 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2365, allocations: 0 / 0.6771 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006871/0.2372, allocations: 378 kB / 0.6775 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.2373, allocations: 132.5 kB / 0.6776 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.2376, allocations: 286.6 kB / 0.6779 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2377, allocations: 33.7 kB / 0.6779 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.2379, allocations: 148.3 kB / 0.6781 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.2379, allocations: 51.38 kB / 0.6781 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.238, allocations: 41.61 kB / 0.6781 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.2383, allocations: 342.8 kB / 0.6785 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2384, allocations: 83.95 kB / 0.6785 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.2387, allocations: 129.1 kB / 0.6787 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.2391, allocations: 246.1 kB / 0.6789 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2391, allocations: 0 / 0.6789 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005493/0.2396, allocations: 334.9 kB / 0.6792 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.2397, allocations: 37.69 kB / 0.6793 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.2397, allocations: 4 kB / 0.6793 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.2398, allocations: 0 / 0.6793 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2399, allocations: 27.98 kB / 0.6793 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.2399, allocations: 96 / 0.6793 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.2401, allocations: 35.8 kB / 0.6793 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.2402, allocations: 8 kB / 0.6793 GB, free: 8.734 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.0002432/0.2404, allocations: 191.5 kB / 0.6795 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.2405, allocations: 27.7 kB / 0.6795 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.2405, allocations: 25.83 kB / 0.6796 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2405, allocations: 4 kB / 0.6796 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.2405, allocations: 4 kB / 0.6796 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2406, allocations: 7.938 kB / 0.6796 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.2409, allocations: 289.4 kB / 0.6799 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2409, allocations: 0 / 0.6799 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.241, allocations: 16 kB / 0.6799 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.241, allocations: 3.984 kB / 0.6799 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.241, allocations: 4 kB / 0.6799 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.241, allocations: 3.938 kB / 0.6799 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.241, allocations: 0 / 0.6799 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.2418, allocations: 466.3 kB / 0.6803 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.2419, allocations: 108.8 kB / 0.6804 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.2419, allocations: 11.94 kB / 0.6804 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.242, allocations: 11.98 kB / 0.6805 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.2421, allocations: 23.91 kB / 0.6805 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.2421, allocations: 7.984 kB / 0.6805 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002022/0.2423, allocations: 205.9 kB / 0.6807 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2423, allocations: 4.062 kB / 0.6807 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003018/0.2427, allocations: 60.03 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.000214/0.2429, allocations: 130 kB / 0.6809 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004824/0.2434, allocations: 299.2 kB / 0.6812 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2434, allocations: 192 / 0.6812 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.2436, allocations: 183.3 kB / 0.6813 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.2439, allocations: 32.55 kB / 0.6814 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.245, allocations: 477.3 kB / 0.6818 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.2455, allocations: 0.7514 MB / 0.6825 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.323e-05/0.2455, allocations: 17.55 kB / 0.6826 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.2456, allocations: 15.44 kB / 0.6826 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.2456, allocations: 0 / 0.6826 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of Templates: time 0.006927/0.2525, allocations: 2.853 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)