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.189/0.191, allocations: 80.83 MB / 0.5899 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.00344/0.1945, allocations: 2.013 MB / 0.5918 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1958, allocations: 0.745 MB / 0.5926 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1959, allocations: 4 kB / 0.5926 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.1962, allocations: 67.77 kB / 0.5926 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.1963, allocations: 91.69 kB / 0.5927 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.1968, allocations: 167.4 kB / 0.5929 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.1971, allocations: 267.4 kB / 0.5931 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1973, allocations: 69.88 kB / 0.5932 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1974, allocations: 115.7 kB / 0.5933 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.1976, allocations: 151.4 kB / 0.5935 GB, free: 3.305 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.1977, allocations: 20 kB / 0.5935 GB, free: 3.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1978, allocations: 87.92 kB / 0.5936 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.1979, allocations: 63.81 kB / 0.5936 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.198, allocations: 107.3 kB / 0.5937 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1984, allocations: 295.1 kB / 0.594 GB, free: 2.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1984, allocations: 0 / 0.594 GB, free: 2.742 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1984, allocations: 3.938 kB / 0.594 GB, free: 2.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1984, allocations: 4 kB / 0.594 GB, free: 2.734 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.0008403/0.1992, allocations: 0.5891 MB / 0.5946 GB, free: 2.094 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1993, allocations: 8.031 kB / 0.5946 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.1994, allocations: 28.66 kB / 0.5946 GB, free: 2.059 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.1998, allocations: 302.8 kB / 0.5949 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1998, allocations: 12.38 kB / 0.5949 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.1998, allocations: 15.94 kB / 0.5949 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.2002, allocations: 219.2 kB / 0.5951 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2002, allocations: 3.938 kB / 0.5951 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.2003, allocations: 8 kB / 0.5952 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2003, allocations: 4 kB / 0.5952 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.2005, allocations: 129.3 kB / 0.5953 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.2014, allocations: 0.6808 MB / 0.5959 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.2017, allocations: 166.7 kB / 0.5961 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.2019, allocations: 100.8 kB / 0.5962 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.2019, allocations: 4 kB / 0.5962 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.2022, allocations: 169.1 kB / 0.5964 GB, free: 124 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.2022, allocations: 0 / 0.5964 GB, free: 124 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.000652/0.2028, allocations: 378.8 kB / 0.5967 GB, free: 15.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.2029, allocations: 136.5 kB / 0.5969 GB, free: 15.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.2032, allocations: 282.6 kB / 0.5971 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.2033, allocations: 29.7 kB / 0.5972 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2034, allocations: 160.2 kB / 0.5973 GB, free: 15.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.2034, allocations: 39.45 kB / 0.5973 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.2035, allocations: 41.7 kB / 0.5974 GB, free: 15.01 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2036, allocations: 342.8 kB / 0.5977 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2038, allocations: 87.95 kB / 0.5978 GB, free: 14.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.204, allocations: 129.1 kB / 0.5979 GB, free: 14.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2043, allocations: 238.8 kB / 0.5981 GB, free: 14.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2043, allocations: 0 / 0.5981 GB, free: 14.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004609/0.2047, allocations: 339 kB / 0.5985 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.2048, allocations: 37.69 kB / 0.5985 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2048, allocations: 0 / 0.5985 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2048, allocations: 3.938 kB / 0.5985 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.205, allocations: 24.08 kB / 0.5985 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.205, allocations: 4 kB / 0.5985 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.2051, allocations: 39.67 kB / 0.5986 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.2051, allocations: 4 kB / 0.5986 GB, free: 13.72 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.0001613/0.2053, allocations: 192.9 kB / 0.5988 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.2054, allocations: 27.72 kB / 0.5988 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.2054, allocations: 29.83 kB / 0.5988 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2054, allocations: 0 / 0.5988 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2054, allocations: 4 kB / 0.5988 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2054, allocations: 7.922 kB / 0.5988 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.2057, allocations: 289.4 kB / 0.5991 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2057, allocations: 0 / 0.5991 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.2058, allocations: 15.98 kB / 0.5991 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2059, allocations: 4 kB / 0.5991 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.2059, allocations: 4 kB / 0.5991 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.2059, allocations: 4 kB / 0.5991 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2059, allocations: 0 / 0.5991 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006609/0.2066, allocations: 477.2 kB / 0.5996 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.2066, allocations: 105 kB / 0.5997 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.2067, allocations: 4 kB / 0.5997 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2068, allocations: 19.92 kB / 0.5997 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.2069, allocations: 23.95 kB / 0.5997 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.2069, allocations: 7.938 kB / 0.5997 GB, free: 12.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.2071, allocations: 206 kB / 0.5999 GB, free: 12.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2071, allocations: 0 / 0.5999 GB, free: 12.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.2074, allocations: 55.98 kB / 0.6 GB, free: 12.17 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.0001895/0.2076, allocations: 127.2 kB / 0.6001 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.2081, allocations: 295.4 kB / 0.6004 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2081, allocations: 4 kB / 0.6004 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.2083, allocations: 183.3 kB / 0.6006 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.2086, allocations: 32.55 kB / 0.6006 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.2097, allocations: 0.5401 MB / 0.6011 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.21, allocations: 0.7553 MB / 0.6019 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.624e-05/0.2101, allocations: 17.53 kB / 0.6019 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.2101, allocations: 19.44 kB / 0.6019 GB, free: 10.12 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2101, allocations: 0 / 0.6019 GB, free: 10.12 MB / 462.1 MB Notification: Performance of Templates: time 0.005904/0.216, allocations: 2.673 MB / 0.6045 GB, free: 7.484 MB / 462.1 MB 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)