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.2202/0.2209, allocations: 82.21 MB / 0.5935 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002507/0.2235, allocations: 1.614 MB / 0.595 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2247, allocations: 0.7026 MB / 0.5957 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2249, allocations: 4 kB / 0.5957 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2251, allocations: 71.77 kB / 0.5958 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2252, allocations: 83.7 kB / 0.5959 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.2256, allocations: 135.6 kB / 0.596 GB, free: 3.344 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.2259, allocations: 219.5 kB / 0.5962 GB, free: 3.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2261, allocations: 49.64 kB / 0.5963 GB, free: 3.078 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2262, allocations: 87.67 kB / 0.5963 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.2264, allocations: 123.5 kB / 0.5965 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.2264, allocations: 4 kB / 0.5965 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.2265, allocations: 71.92 kB / 0.5965 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.2266, allocations: 39.84 kB / 0.5966 GB, free: 2.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.468e-05/0.2267, allocations: 61.58 kB / 0.5966 GB, free: 2.691 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.227, allocations: 211.6 kB / 0.5968 GB, free: 2.484 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.227, allocations: 0 / 0.5968 GB, free: 2.484 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.227, allocations: 0 / 0.5968 GB, free: 2.484 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.227, allocations: 0 / 0.5968 GB, free: 2.484 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.0009006/0.2279, allocations: 0.5545 MB / 0.5974 GB, free: 1.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.228, allocations: 16.02 kB / 0.5974 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.228, allocations: 27.62 kB / 0.5974 GB, free: 1.832 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.2285, allocations: 301.6 kB / 0.5977 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.2286, allocations: 11.95 kB / 0.5977 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.2286, allocations: 16 kB / 0.5977 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.229, allocations: 227.2 kB / 0.598 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2291, allocations: 0 / 0.598 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.2291, allocations: 11.94 kB / 0.598 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.2291, allocations: 0 / 0.598 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.2294, allocations: 137.3 kB / 0.5981 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008875/0.2303, allocations: 0.6962 MB / 0.5988 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.2306, allocations: 174.5 kB / 0.5989 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2308, allocations: 96.95 kB / 0.599 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2308, allocations: 4 kB / 0.599 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.2312, allocations: 181.1 kB / 0.5992 GB, free: 15.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.2312, allocations: 0 / 0.5992 GB, free: 15.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006785/0.2319, allocations: 376.3 kB / 0.5996 GB, free: 15.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.232, allocations: 140.4 kB / 0.5997 GB, free: 15.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.2323, allocations: 282.6 kB / 0.6 GB, free: 15.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.2324, allocations: 33.7 kB / 0.6 GB, free: 14.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2325, allocations: 156.3 kB / 0.6002 GB, free: 14.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.2325, allocations: 43.36 kB / 0.6002 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.2326, allocations: 4 kB / 0.6002 GB, free: 14.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2327, allocations: 338.8 kB / 0.6005 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2329, allocations: 92.14 kB / 0.6006 GB, free: 14.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.2331, allocations: 137.5 kB / 0.6007 GB, free: 14.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.2333, allocations: 113.7 kB / 0.6008 GB, free: 14.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2333, allocations: 0 / 0.6008 GB, free: 14.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005293/0.2338, allocations: 342.9 kB / 0.6012 GB, free: 13.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.2339, allocations: 37.64 kB / 0.6012 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2339, allocations: 4 kB / 0.6012 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2339, allocations: 4.094 kB / 0.6012 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2341, allocations: 27.98 kB / 0.6012 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.2341, allocations: 4 kB / 0.6012 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.2342, allocations: 23.83 kB / 0.6013 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.2343, allocations: 12 kB / 0.6013 GB, free: 13.62 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 ($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,ySet.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.2345, allocations: 192.9 kB / 0.6015 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.2345, allocations: 27.72 kB / 0.6015 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.2346, allocations: 29.78 kB / 0.6015 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2346, allocations: 0 / 0.6015 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.2346, allocations: 4 kB / 0.6015 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2346, allocations: 0 / 0.6015 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.2349, allocations: 297.3 kB / 0.6018 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2349, allocations: 0 / 0.6018 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.235, allocations: 16 kB / 0.6018 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2351, allocations: 4 kB / 0.6018 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.2351, allocations: 7.984 kB / 0.6018 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.2351, allocations: 7.891 kB / 0.6018 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2351, allocations: 96 / 0.6018 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.2358, allocations: 473 kB / 0.6023 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.667e-05/0.2359, allocations: 108.8 kB / 0.6024 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.236, allocations: 8 kB / 0.6024 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2361, allocations: 15.98 kB / 0.6024 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/0.2362, allocations: 31.84 kB / 0.6025 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.2362, allocations: 8 kB / 0.6025 GB, free: 12.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.2364, allocations: 209.9 kB / 0.6027 GB, free: 12.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2364, allocations: 0 / 0.6027 GB, free: 12.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.2367, allocations: 60.03 kB / 0.6027 GB, free: 12.05 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 (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.0002327/0.237, allocations: 127.2 kB / 0.6028 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005095/0.2375, allocations: 295.4 kB / 0.6031 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2375, allocations: 0 / 0.6031 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.2377, allocations: 191.3 kB / 0.6033 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2381, allocations: 34.61 kB / 0.6033 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2391, allocations: 0.5144 MB / 0.6038 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.2395, allocations: 0.7519 MB / 0.6046 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.087e-05/0.2396, allocations: 21.53 kB / 0.6046 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.2397, allocations: 19.42 kB / 0.6046 GB, free: 10.02 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2397, allocations: 0 / 0.6046 GB, free: 10.02 MB / 462.1 MB Notification: Performance of Templates: time 0.005937/0.2456, allocations: 2.454 MB / 0.607 GB, free: 7.59 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: