Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 249.5 MB / 257 MB, free: 6.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 175.3 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.3 MB / 0.5671 GB, free: 15.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000906/0.0009062, allocations: 82.48 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.543e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2227, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.71/0.9327, allocations: 131.2 MB / 1.013 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.933, allocations: 74.02 kB / 1.014 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001451/0.9345, allocations: 0.5335 MB / 1.014 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9345, allocations: 0 / 1.014 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.9345, allocations: 4 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB 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.000229/0.9348, allocations: 315.6 kB / 1.014 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.9348, allocations: 16.03 kB / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.935, allocations: 19.97 kB / 1.014 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.9351, allocations: 167 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.9351, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.9351, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.076e-05/0.9352, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.641e-05/0.9353, allocations: 33.69 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.9353, allocations: 0 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.9353, allocations: 0 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9353, allocations: 0 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.9354, allocations: 130.2 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.9355, allocations: 22.59 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.9355, allocations: 8.609 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.9355, allocations: 7.922 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.9355, allocations: 34.62 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.9355, allocations: 0 / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.9357, allocations: 29.7 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.9357, allocations: 58.17 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.089e-05/0.9357, allocations: 85 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.9358, allocations: 25.7 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/0.9358, allocations: 80.14 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.9358, allocations: 0 / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.9358, allocations: 0 / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9359, allocations: 318.5 kB / 1.015 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.936, allocations: 4 kB / 1.015 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.936, allocations: 4 kB / 1.015 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.439e-05/0.936, allocations: 0 / 1.015 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.936, allocations: 0 / 1.015 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.161e-05/0.9361, allocations: 41.59 kB / 1.015 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.9361, allocations: 6.188 kB / 1.015 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.9361, allocations: 2.562 kB / 1.015 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.9361, allocations: 3.984 kB / 1.015 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.9362, allocations: 4 kB / 1.015 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.9362, allocations: 0 / 1.015 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.9362, allocations: 4.094 kB / 1.015 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.9363, allocations: 4 kB / 1.015 GB, free: 4.051 MB / 0.6355 GB 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 5.879e-05/0.9363, allocations: 101 kB / 1.015 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.563e-05/0.9364, allocations: 37.64 kB / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-06/0.9364, allocations: 0 / 1.016 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.9364, allocations: 7.703 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.9364, allocations: 4 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.9364, allocations: 0 / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9364, allocations: 7.875 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.987e-05/0.9365, allocations: 138.2 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9365, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.9366, allocations: 7.5 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.9366, allocations: 3.953 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.9366, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9366, allocations: 0 / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9366, allocations: 0.9375 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.9367, allocations: 61.12 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.9367, allocations: 77.92 kB / 1.016 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.9368, allocations: 3.953 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.9368, allocations: 7.984 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-06/0.9368, allocations: 0 / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.9368, allocations: 0 / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.9368, allocations: 75.28 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9369, allocations: 0 / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001659/0.937, allocations: 0 / 1.016 GB, free: 3.441 MB / 0.6355 GB 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.0003796/0.9374, allocations: 0.602 MB / 1.016 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.269e-05/0.9375, allocations: 4 kB / 1.016 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9375, allocations: 0 / 1.016 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.556e-06/0.9375, allocations: 4 kB / 1.016 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.354e-05/0.9376, allocations: 6.688 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.9379, allocations: 73.72 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.9381, allocations: 0.6768 MB / 1.017 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.549e-05/0.9382, allocations: 0 / 1.017 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.9382, allocations: 7.438 kB / 1.017 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of SimCode: time 3e-07/0.9382, allocations: 11.94 kB / 1.017 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.9542, allocations: 467.6 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.9544, allocations: 158.1 kB / 1.018 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.293/2.247, allocations: 3.828 kB / 1.018 GB, free: 1.332 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)