Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7433/0.7433, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 192.7 kB / 169.7 MB, free: 1.723 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 404.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000865/0.000865, allocations: 93.77 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.983e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 76.76 MB / 0.6283 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6039/0.7714, allocations: 101.8 MB / 0.7277 GB, free: 11.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.7718, allocations: 83.81 kB / 0.7277 GB, free: 11.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00155/0.7734, allocations: 0.5427 MB / 0.7283 GB, free: 11.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7734, allocations: 0 / 0.7283 GB, free: 11.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.7734, allocations: 0 / 0.7283 GB, free: 11.01 MB / 490.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.0002828/0.7737, allocations: 319.8 kB / 0.7286 GB, free: 10.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/0.7738, allocations: 8.031 kB / 0.7286 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.7738, allocations: 30.56 kB / 0.7286 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.774, allocations: 23.92 kB / 0.7286 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.7742, allocations: 159.1 kB / 0.7288 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.7742, allocations: 4 kB / 0.7288 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.7742, allocations: 0 / 0.7288 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.7744, allocations: 29.69 kB / 0.7288 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.7744, allocations: 0 / 0.7288 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.7744, allocations: 4 kB / 0.7288 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7744, allocations: 0 / 0.7288 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.7744, allocations: 3.953 kB / 0.7288 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.7746, allocations: 153.6 kB / 0.729 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.746e-05/0.7747, allocations: 22.59 kB / 0.729 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.7747, allocations: 4.859 kB / 0.729 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.7748, allocations: 8 kB / 0.729 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.7748, allocations: 36.91 kB / 0.729 GB, free: 10.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.7748, allocations: 0 / 0.729 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.00015/0.775, allocations: 33.7 kB / 0.7291 GB, free: 10.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.775, allocations: 55.34 kB / 0.7291 GB, free: 9.961 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.325e-05/0.7751, allocations: 85 kB / 0.7292 GB, free: 9.871 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.7751, allocations: 25.7 kB / 0.7292 GB, free: 9.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.7751, allocations: 82.33 kB / 0.7293 GB, free: 9.758 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.7752, allocations: 0 / 0.7293 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-06/0.7752, allocations: 4 kB / 0.7293 GB, free: 9.754 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7753, allocations: 322.1 kB / 0.7296 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.7754, allocations: 32 / 0.7296 GB, free: 9.434 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.7754, allocations: 4 kB / 0.7296 GB, free: 9.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/0.7754, allocations: 4 kB / 0.7296 GB, free: 9.426 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7754, allocations: 0 / 0.7296 GB, free: 9.426 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.646e-05/0.7755, allocations: 29.7 kB / 0.7297 GB, free: 9.391 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.7755, allocations: 8 kB / 0.7297 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7755, allocations: 3.984 kB / 0.7297 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7755, allocations: 0 / 0.7297 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.7756, allocations: 4 kB / 0.7297 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7756, allocations: 8.031 kB / 0.7297 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.7757, allocations: 0 / 0.7297 GB, free: 9.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.7757, allocations: 0 / 0.7297 GB, free: 9.367 MB / 490.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.174e-05/0.7758, allocations: 104.9 kB / 0.7298 GB, free: 9.258 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.7758, allocations: 7.984 kB / 0.7298 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.7758, allocations: 3.125 kB / 0.7298 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.7759, allocations: 0 / 0.7298 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7759, allocations: 3.938 kB / 0.7298 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7759, allocations: 0 / 0.7298 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.776, allocations: 153.8 kB / 0.7299 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.776, allocations: 0 / 0.7299 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.7761, allocations: 7.984 kB / 0.73 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.7761, allocations: 0 / 0.73 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.7761, allocations: 0 / 0.73 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.7761, allocations: 4 kB / 0.73 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7761, allocations: 0.8125 kB / 0.73 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.398e-05/0.7762, allocations: 64.45 kB / 0.73 GB, free: 8.961 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.7763, allocations: 81.09 kB / 0.7301 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.7763, allocations: 7.938 kB / 0.7301 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.7763, allocations: 0 / 0.7301 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.7763, allocations: 0 / 0.7301 GB, free: 8.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.7764, allocations: 3.984 kB / 0.7301 GB, free: 8.852 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.7764, allocations: 79.22 kB / 0.7302 GB, free: 8.773 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7764, allocations: 0 / 0.7302 GB, free: 8.773 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.7766, allocations: 4 kB / 0.7302 GB, free: 8.77 MB / 490.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.000428/0.777, allocations: 0.6066 MB / 0.7308 GB, free: 8.141 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.7772, allocations: 7.938 kB / 0.7308 GB, free: 8.133 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7772, allocations: 0 / 0.7308 GB, free: 8.133 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.7772, allocations: 3.25 kB / 0.7308 GB, free: 8.133 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.7773, allocations: 8.156 kB / 0.7308 GB, free: 8.125 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.7776, allocations: 71.2 kB / 0.7309 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.7779, allocations: 0.6731 MB / 0.7315 GB, free: 7.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.904e-05/0.7779, allocations: 0 / 0.7315 GB, free: 7.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.7779, allocations: 15.36 kB / 0.7315 GB, free: 7.305 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.778, allocations: 4 kB / 0.7315 GB, free: 7.301 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.7896, allocations: 0.7455 MB / 0.7323 GB, free: 6.676 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.7899, allocations: 170.3 kB / 0.7324 GB, free: 6.445 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.281, allocations: 0 / 0.7324 GB, free: 6.445 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)