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.1943/0.1956, allocations: 82.22 MB / 0.5941 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003119/0.1987, allocations: 1.658 MB / 0.5957 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.2005, allocations: 0.7451 MB / 0.5965 GB, free: 3.156 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.2007, allocations: 4 kB / 0.5965 GB, free: 3.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.201, allocations: 71.77 kB / 0.5965 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.2012, allocations: 83.69 kB / 0.5966 GB, free: 3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.2018, allocations: 162.5 kB / 0.5968 GB, free: 2.844 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.2022, allocations: 239.5 kB / 0.597 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.2024, allocations: 57.84 kB / 0.5971 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.2026, allocations: 95.66 kB / 0.5971 GB, free: 2.457 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003316/0.203, allocations: 131.5 kB / 0.5973 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.203, allocations: 8 kB / 0.5973 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2032, allocations: 67.94 kB / 0.5973 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2033, allocations: 47.83 kB / 0.5974 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.2035, allocations: 121 kB / 0.5975 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.204, allocations: 275.1 kB / 0.5978 GB, free: 1.812 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.204, allocations: 4 kB / 0.5978 GB, free: 1.809 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.204, allocations: 0 / 0.5978 GB, free: 1.809 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.204, allocations: 0 / 0.5978 GB, free: 1.809 MB / 446.1 MB 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.001134/0.2052, allocations: 0.547 MB / 0.5983 GB, free: 1.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2052, allocations: 11.97 kB / 0.5983 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.966e-05/0.2053, allocations: 32.56 kB / 0.5983 GB, free: 1.164 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.2059, allocations: 306.9 kB / 0.5986 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.2059, allocations: 12.38 kB / 0.5987 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.206, allocations: 19.94 kB / 0.5987 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.2066, allocations: 223.1 kB / 0.5989 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2066, allocations: 7.938 kB / 0.5989 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.2066, allocations: 4 kB / 0.5989 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.2066, allocations: 4 kB / 0.5989 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.207, allocations: 137.3 kB / 0.599 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2083, allocations: 0.6846 MB / 0.5997 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.2088, allocations: 178.5 kB / 0.5999 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.209, allocations: 109 kB / 0.6 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.209, allocations: 0 / 0.6 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.2094, allocations: 169 kB / 0.6001 GB, free: 15.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 2.324e-06/0.2094, allocations: 0 / 0.6001 GB, free: 15.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008887/0.2103, allocations: 393.2 kB / 0.6005 GB, free: 14.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.2105, allocations: 136.5 kB / 0.6006 GB, free: 14.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.2108, allocations: 278.6 kB / 0.6009 GB, free: 14.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.2109, allocations: 33.7 kB / 0.6009 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.2111, allocations: 156.2 kB / 0.6011 GB, free: 14.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.191e-05/0.2111, allocations: 47.45 kB / 0.6011 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.2112, allocations: 25.7 kB / 0.6012 GB, free: 14.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2114, allocations: 342.8 kB / 0.6015 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.2116, allocations: 83.95 kB / 0.6016 GB, free: 13.65 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.2118, allocations: 143.1 kB / 0.6017 GB, free: 13.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/0.2122, allocations: 250.7 kB / 0.6019 GB, free: 13.23 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2122, allocations: 0 / 0.6019 GB, free: 13.23 MB / 462.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005461/0.2128, allocations: 349 kB / 0.6023 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.2128, allocations: 37.69 kB / 0.6023 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2128, allocations: 3.984 kB / 0.6023 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.2129, allocations: 8.094 kB / 0.6023 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.213, allocations: 23.98 kB / 0.6023 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.213, allocations: 0 / 0.6023 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.2132, allocations: 35.77 kB / 0.6024 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.2132, allocations: 4 kB / 0.6024 GB, free: 12.76 MB / 462.1 MB 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.0001993/0.2134, allocations: 196.9 kB / 0.6026 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2134, allocations: 31.72 kB / 0.6026 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.2135, allocations: 29.83 kB / 0.6026 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2135, allocations: 0 / 0.6026 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2135, allocations: 0 / 0.6026 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.2135, allocations: 3.938 kB / 0.6026 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.2139, allocations: 293.3 kB / 0.6029 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2139, allocations: 0 / 0.6029 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.214, allocations: 20.08 kB / 0.6029 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.214, allocations: 7.938 kB / 0.6029 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.214, allocations: 8 kB / 0.6029 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.214, allocations: 0 / 0.6029 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.214, allocations: 3.938 kB / 0.6029 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007355/0.2148, allocations: 474.3 kB / 0.6034 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.2149, allocations: 100.8 kB / 0.6035 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.2149, allocations: 8 kB / 0.6035 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.2151, allocations: 19.98 kB / 0.6035 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.2152, allocations: 19.95 kB / 0.6035 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.2152, allocations: 15.94 kB / 0.6036 GB, free: 11.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.2155, allocations: 206 kB / 0.6038 GB, free: 11.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.2155, allocations: 4 kB / 0.6038 GB, free: 11.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00036/0.2158, allocations: 55.83 kB / 0.6038 GB, free: 11.19 MB / 462.1 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: 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.0002996/0.2161, allocations: 123.2 kB / 0.6039 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.2168, allocations: 307.4 kB / 0.6042 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2168, allocations: 0 / 0.6042 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.2171, allocations: 187.3 kB / 0.6044 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.2175, allocations: 28.55 kB / 0.6044 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2186, allocations: 0.542 MB / 0.605 GB, free: 9.953 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2189, allocations: 0.7517 MB / 0.6057 GB, free: 9.176 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.941e-05/0.219, allocations: 25.53 kB / 0.6057 GB, free: 9.148 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.219, allocations: 15.44 kB / 0.6057 GB, free: 9.133 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2191, allocations: 0 / 0.6057 GB, free: 9.133 MB / 462.1 MB Notification: Performance of Templates: time 0.006857/0.2259, allocations: 2.525 MB / 0.6082 GB, free: 6.633 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: