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.1975/0.1995, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.004539/0.2041, allocations: 1.955 MB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.206, allocations: 0.7527 MB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.2063, allocations: 0 / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.2066, allocations: 87.62 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.2069, allocations: 91.58 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.2077, allocations: 191.1 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004998/0.2082, allocations: 271.2 kB / 0.6739 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000231/0.2085, allocations: 65.89 kB / 0.6739 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.2087, allocations: 111.7 kB / 0.674 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.209, allocations: 155.5 kB / 0.6742 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.209, allocations: 24 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.2092, allocations: 91.92 kB / 0.6743 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.2093, allocations: 55.84 kB / 0.6744 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2095, allocations: 107.3 kB / 0.6745 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004308/0.2099, allocations: 311 kB / 0.6747 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2099, allocations: 0 / 0.6747 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2099, allocations: 0 / 0.6747 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2099, allocations: 3.938 kB / 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.001069/0.211, allocations: 0.5819 MB / 0.6753 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2111, allocations: 12.02 kB / 0.6753 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.2112, allocations: 32.56 kB / 0.6754 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006111/0.2118, allocations: 294.9 kB / 0.6756 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.2118, allocations: 16.12 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.2119, allocations: 20 kB / 0.6757 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.2123, allocations: 223.1 kB / 0.6759 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2123, allocations: 0 / 0.6759 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.2124, allocations: 11.94 kB / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2124, allocations: 0 / 0.6759 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.2127, allocations: 132.3 kB / 0.676 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.2137, allocations: 0.6807 MB / 0.6767 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.214, allocations: 170.5 kB / 0.6769 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2142, allocations: 96.95 kB / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2142, allocations: 4 kB / 0.677 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.2145, allocations: 165 kB / 0.6771 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 3.787e-06/0.2146, allocations: 96 / 0.6771 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0007407/0.2153, allocations: 378.9 kB / 0.6775 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.2154, allocations: 132.5 kB / 0.6776 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.2157, allocations: 282.6 kB / 0.6779 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.2158, allocations: 33.7 kB / 0.6779 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2159, allocations: 152.3 kB / 0.678 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.216, allocations: 47.38 kB / 0.6781 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.2161, allocations: 45.61 kB / 0.6781 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.2163, allocations: 342.8 kB / 0.6785 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.2164, allocations: 87.95 kB / 0.6785 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.2166, allocations: 129 kB / 0.6787 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.217, allocations: 250.1 kB / 0.6789 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.217, allocations: 0 / 0.6789 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004847/0.2175, allocations: 327 kB / 0.6792 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.2175, allocations: 37.69 kB / 0.6793 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2176, allocations: 0 / 0.6793 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2176, allocations: 4.094 kB / 0.6793 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2177, allocations: 31.92 kB / 0.6793 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2177, allocations: 0 / 0.6793 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.2179, allocations: 27.77 kB / 0.6793 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.2179, allocations: 8 kB / 0.6793 GB, free: 8.742 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.0001791/0.2181, allocations: 191.5 kB / 0.6795 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.2181, allocations: 23.72 kB / 0.6795 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.262e-05/0.2182, allocations: 33.83 kB / 0.6796 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2182, allocations: 0 / 0.6796 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2182, allocations: 0 / 0.6796 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2183, allocations: 7.938 kB / 0.6796 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.2185, allocations: 293.4 kB / 0.6798 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2186, allocations: 0 / 0.6798 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.2187, allocations: 19.92 kB / 0.6799 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2187, allocations: 4.094 kB / 0.6799 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.2187, allocations: 3.938 kB / 0.6799 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2187, allocations: 4 kB / 0.6799 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2187, allocations: 4 kB / 0.6799 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.2195, allocations: 469.3 kB / 0.6803 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.2196, allocations: 108.7 kB / 0.6804 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.2196, allocations: 8 kB / 0.6804 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2197, allocations: 11.98 kB / 0.6805 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.856e-05/0.2198, allocations: 27.97 kB / 0.6805 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.2199, allocations: 11.98 kB / 0.6805 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002002/0.2201, allocations: 198 kB / 0.6807 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2201, allocations: 4 kB / 0.6807 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002716/0.2204, allocations: 56.03 kB / 0.6807 GB, free: 7.184 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.0002394/0.2206, allocations: 127.2 kB / 0.6809 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000523/0.2211, allocations: 306.7 kB / 0.6812 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2211, allocations: 0 / 0.6812 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.2214, allocations: 183.3 kB / 0.6813 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2217, allocations: 32.53 kB / 0.6814 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.2227, allocations: 477.2 kB / 0.6818 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.2231, allocations: 0.7475 MB / 0.6825 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.989e-05/0.2232, allocations: 17.55 kB / 0.6826 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.2233, allocations: 23.42 kB / 0.6826 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2233, allocations: 0 / 0.6826 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of Templates: time 0.007477/0.2308, allocations: 2.92 MB / 0.6854 GB, free: 2.309 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)