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.7264/0.7264, allocations: 132.4 MB / 139.9 MB, free: 15.38 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001002/0.001002, allocations: 167.6 kB / 171.8 MB, free: 2.059 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.227/1.227, allocations: 170.6 MB / 374.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001642/0.001642, allocations: 120 kB / 444.8 MB, free: 9.227 MB / 346.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.4354/0.4354, allocations: 73.4 MB / 0.6666 GB, free: 46.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/0.6093, allocations: 100.2 MB / 0.7645 GB, free: 4.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6096, allocations: 71.95 kB / 0.7645 GB, free: 4.52 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001546/0.6112, allocations: 0.5321 MB / 0.7651 GB, free: 3.992 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6112, allocations: 0.5938 kB / 0.7651 GB, free: 3.992 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.6113, allocations: 0.625 kB / 0.7651 GB, free: 3.992 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.0003173/0.6116, allocations: 315.2 kB / 0.7654 GB, free: 3.645 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.6117, allocations: 10.34 kB / 0.7654 GB, free: 3.637 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.6119, allocations: 20.72 kB / 0.7654 GB, free: 3.617 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.6121, allocations: 168 kB / 0.7656 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.6121, allocations: 0.5625 kB / 0.7656 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.6121, allocations: 2.438 kB / 0.7656 GB, free: 3.418 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.158e-05/0.6122, allocations: 4 kB / 0.7656 GB, free: 3.414 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.6123, allocations: 29.69 kB / 0.7656 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.6123, allocations: 5.453 kB / 0.7656 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6123, allocations: 1.219 kB / 0.7656 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.6123, allocations: 0 / 0.7656 GB, free: 3.379 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.6125, allocations: 126.2 kB / 0.7657 GB, free: 3.219 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.6126, allocations: 19.66 kB / 0.7657 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.6126, allocations: 8.359 kB / 0.7657 GB, free: 3.184 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.6126, allocations: 8.031 kB / 0.7658 GB, free: 3.176 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.6127, allocations: 34.56 kB / 0.7658 GB, free: 3.133 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 3.567e-06/0.6127, allocations: 0 / 0.7658 GB, free: 3.133 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.6129, allocations: 32.22 kB / 0.7658 GB, free: 3.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.6129, allocations: 55.36 kB / 0.7659 GB, free: 3.031 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.613, allocations: 85 kB / 0.766 GB, free: 2.941 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.613, allocations: 29.73 kB / 0.766 GB, free: 2.906 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.613, allocations: 80.14 kB / 0.7661 GB, free: 2.824 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.6131, allocations: 3.062 kB / 0.7661 GB, free: 2.824 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.6131, allocations: 0 / 0.7661 GB, free: 2.824 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6132, allocations: 318.8 kB / 0.7664 GB, free: 2.504 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.6132, allocations: 0 / 0.7664 GB, free: 2.504 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.6133, allocations: 0 / 0.7664 GB, free: 2.504 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.074e-05/0.6133, allocations: 4 kB / 0.7664 GB, free: 2.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6133, allocations: 4.062 kB / 0.7664 GB, free: 2.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.299e-05/0.6134, allocations: 37.64 kB / 0.7664 GB, free: 2.453 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6134, allocations: 4 kB / 0.7664 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6134, allocations: 3.984 kB / 0.7664 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.6134, allocations: 2.125 kB / 0.7664 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.616e-05/0.6135, allocations: 4.844 kB / 0.7664 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.6136, allocations: 0 / 0.7664 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.6136, allocations: 4 kB / 0.7664 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6136, allocations: 3.953 kB / 0.7664 GB, free: 2.434 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 8.122e-05/0.6137, allocations: 108 kB / 0.7665 GB, free: 2.324 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.6137, allocations: 5.547 kB / 0.7665 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.6138, allocations: 3.75 kB / 0.7665 GB, free: 2.316 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.6138, allocations: 3.172 kB / 0.7665 GB, free: 2.316 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6138, allocations: 4 kB / 0.7665 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6138, allocations: 1.219 kB / 0.7665 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.6139, allocations: 126.2 kB / 0.7667 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6139, allocations: 0 / 0.7667 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.614, allocations: 7.984 kB / 0.7667 GB, free: 2.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.614, allocations: 4 kB / 0.7667 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.614, allocations: 0 / 0.7667 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6141, allocations: 0 / 0.7667 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6141, allocations: 0 / 0.7667 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.6142, allocations: 69.95 kB / 0.7667 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.6142, allocations: 77.11 kB / 0.7668 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.6143, allocations: 0 / 0.7668 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.6143, allocations: 4.828 kB / 0.7668 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.6144, allocations: 4 kB / 0.7668 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.6144, allocations: 0.75 kB / 0.7668 GB, free: 1.953 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.099e-05/0.6144, allocations: 75.28 kB / 0.7669 GB, free: 1.879 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6144, allocations: 0 / 0.7669 GB, free: 1.879 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.6147, allocations: 0 / 0.7669 GB, free: 1.879 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.0001317/0.6148, allocations: 99.23 kB / 0.767 GB, free: 1.773 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.984e-05/0.6149, allocations: 4 kB / 0.767 GB, free: 1.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.615, allocations: 4.062 kB / 0.767 GB, free: 1.766 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.615, allocations: 7.938 kB / 0.767 GB, free: 1.758 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.6151, allocations: 5.078 kB / 0.767 GB, free: 1.754 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.6153, allocations: 51.53 kB / 0.7671 GB, free: 1.684 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.6156, allocations: 0.6729 MB / 0.7677 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.6157, allocations: 4.062 kB / 0.7677 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.6157, allocations: 11.44 kB / 0.7677 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6158, allocations: 0 / 0.7677 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of Templates: time 0.002169/0.6179, allocations: 215 kB / 0.7679 GB, free: 0.7891 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)