Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.4 MB / 139.9 MB, free: 2.828 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001262/0.001262, allocations: 180.6 kB / 171.8 MB, free: 4.91 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.458/1.458, allocations: 170.6 MB / 374.2 MB, free: 188 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001937/0.001937, allocations: 110.1 kB / 444.8 MB, free: 14.15 MB / 314.7 MB [/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.1457/0.1457, allocations: 73.43 MB / 0.6666 GB, free: 15.62 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.6146, allocations: 100.2 MB / 0.7645 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.6149, allocations: 75.95 kB / 0.7646 GB, free: 15.31 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001301/0.6162, allocations: 0.5356 MB / 0.7651 GB, free: 14.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6162, allocations: 0 / 0.7651 GB, free: 14.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.6162, allocations: 0 / 0.7651 GB, free: 14.78 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002384/0.6165, allocations: 310.7 kB / 0.7654 GB, free: 14.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.6165, allocations: 8.031 kB / 0.7654 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.6167, allocations: 15.97 kB / 0.7654 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.6168, allocations: 159.1 kB / 0.7656 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.6168, allocations: 4 kB / 0.7656 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6168, allocations: 3.938 kB / 0.7656 GB, free: 14.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.323e-05/0.6169, allocations: 11.94 kB / 0.7656 GB, free: 14.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.686e-05/0.617, allocations: 29.64 kB / 0.7656 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.617, allocations: 0 / 0.7656 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.617, allocations: 0 / 0.7656 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.617, allocations: 4 kB / 0.7656 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.6171, allocations: 130.2 kB / 0.7657 GB, free: 13.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.48e-05/0.6172, allocations: 18.58 kB / 0.7657 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.6172, allocations: 8.953 kB / 0.7658 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.6172, allocations: 0 / 0.7658 GB, free: 13.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.6172, allocations: 30.56 kB / 0.7658 GB, free: 13.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6172, allocations: 0 / 0.7658 GB, free: 13.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.6174, allocations: 41.58 kB / 0.7658 GB, free: 13.87 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.6174, allocations: 51.41 kB / 0.7659 GB, free: 13.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.04e-05/0.6175, allocations: 89.03 kB / 0.766 GB, free: 13.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.6175, allocations: 25.7 kB / 0.766 GB, free: 13.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.6175, allocations: 84.14 kB / 0.7661 GB, free: 13.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.6175, allocations: 4 kB / 0.7661 GB, free: 13.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.6176, allocations: 0 / 0.7661 GB, free: 13.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6177, allocations: 310.8 kB / 0.7664 GB, free: 13.28 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.155e-06/0.6177, allocations: 0 / 0.7664 GB, free: 13.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.6177, allocations: 0 / 0.7664 GB, free: 13.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.746e-05/0.6177, allocations: 8.062 kB / 0.7664 GB, free: 13.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6177, allocations: 0 / 0.7664 GB, free: 13.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.379e-05/0.6178, allocations: 37.67 kB / 0.7664 GB, free: 13.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.6178, allocations: 7.609 kB / 0.7664 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6178, allocations: 4 kB / 0.7664 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6178, allocations: 0 / 0.7664 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.6179, allocations: 0 / 0.7664 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.6179, allocations: 0 / 0.7664 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.618, allocations: 11.94 kB / 0.7664 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.618, allocations: 0 / 0.7664 GB, free: 13.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.699e-05/0.618, allocations: 112 kB / 0.7665 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-06/0.6181, allocations: 0 / 0.7665 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.6181, allocations: 7.75 kB / 0.7665 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.6181, allocations: 0 / 0.7665 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.6181, allocations: 0 / 0.7665 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.6181, allocations: 0 / 0.7665 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.822e-05/0.6182, allocations: 134.2 kB / 0.7667 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.6182, allocations: 0 / 0.7667 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.6183, allocations: 4 kB / 0.7667 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6183, allocations: 7.688 kB / 0.7667 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.6183, allocations: 3.938 kB / 0.7667 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6183, allocations: 0 / 0.7667 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6183, allocations: 0 / 0.7667 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.925e-05/0.6184, allocations: 61.08 kB / 0.7667 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.6185, allocations: 77.11 kB / 0.7668 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.6185, allocations: 0 / 0.7668 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.6185, allocations: 12.02 kB / 0.7668 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.6185, allocations: 0 / 0.7668 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.6185, allocations: 0 / 0.7668 GB, free: 12.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.6186, allocations: 79.22 kB / 0.7669 GB, free: 12.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6186, allocations: 0 / 0.7669 GB, free: 12.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001841/0.6188, allocations: 0 / 0.7669 GB, free: 12.64 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001108/0.6189, allocations: 95.25 kB / 0.767 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.341e-05/0.619, allocations: 8 kB / 0.767 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.619, allocations: 4.062 kB / 0.767 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.619, allocations: 4 kB / 0.767 GB, free: 12.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.518e-05/0.6191, allocations: 7.125 kB / 0.767 GB, free: 12.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.6193, allocations: 48.05 kB / 0.7671 GB, free: 12.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.6195, allocations: 0.6768 MB / 0.7677 GB, free: 11.75 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.792e-05/0.6195, allocations: 4.062 kB / 0.7677 GB, free: 11.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.6196, allocations: 7.438 kB / 0.7677 GB, free: 11.74 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6196, allocations: 0 / 0.7677 GB, free: 11.74 MB / 474.7 MB Notification: Performance of Templates: time 0.001615/0.6212, allocations: 220 kB / 0.7679 GB, free: 11.53 MB / 474.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)