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.7389/0.7389, allocations: 128.7 MB / 143.7 MB, free: 2.195 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 176 kB / 173.7 MB, free: 6.027 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.706/1.706, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009234/0.0009234, allocations: 95.95 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003858, allocations: 15.72 kB / 0.5605 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1721, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.322, allocations: 101.9 MB / 0.7349 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.3224, allocations: 87.94 kB / 0.735 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001635/0.3241, allocations: 0.5476 MB / 0.7355 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3241, allocations: 3.938 kB / 0.7355 GB, free: 7.793 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.3241, allocations: 0 / 0.7355 GB, free: 7.793 MB / 0.5105 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.0003193/0.3245, allocations: 311.4 kB / 0.7358 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.3245, allocations: 11.97 kB / 0.7358 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.3246, allocations: 30.56 kB / 0.7359 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.3248, allocations: 23.92 kB / 0.7359 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.325, allocations: 163.1 kB / 0.736 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.325, allocations: 4 kB / 0.736 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.325, allocations: 0 / 0.736 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3252, allocations: 37.69 kB / 0.7361 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3252, allocations: 0 / 0.7361 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3252, allocations: 0 / 0.7361 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3252, allocations: 0 / 0.7361 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.554e-05/0.3253, allocations: 15.94 kB / 0.7361 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.3255, allocations: 145.7 kB / 0.7362 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.978e-05/0.3256, allocations: 26.53 kB / 0.7363 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3256, allocations: 0 / 0.7363 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3257, allocations: 34.56 kB / 0.7363 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3257, allocations: 0 / 0.7363 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002572/0.3259, allocations: 49.73 kB / 0.7363 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.326, allocations: 55.34 kB / 0.7364 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.326, allocations: 85 kB / 0.7365 GB, free: 6.625 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3261, allocations: 25.7 kB / 0.7365 GB, free: 6.594 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.3261, allocations: 80.14 kB / 0.7366 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.3261, allocations: 0 / 0.7366 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.3262, allocations: 4 kB / 0.7366 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3263, allocations: 318.9 kB / 0.7369 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.3263, allocations: 7.938 kB / 0.7369 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.3264, allocations: 7.984 kB / 0.7369 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.3264, allocations: 4 kB / 0.7369 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3265, allocations: 0 / 0.7369 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001211/0.3266, allocations: 45.58 kB / 0.7369 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3266, allocations: 12.09 kB / 0.737 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3266, allocations: 0 / 0.737 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3266, allocations: 3.938 kB / 0.737 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.3267, allocations: 4 kB / 0.737 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3267, allocations: 3.938 kB / 0.737 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.3268, allocations: 3.984 kB / 0.737 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3268, allocations: 0 / 0.737 GB, free: 6.09 MB / 0.5105 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 () * Number of clocked 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 9.258e-05/0.3269, allocations: 113.8 kB / 0.7371 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.3269, allocations: 0 / 0.7371 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.3269, allocations: 7.125 kB / 0.7371 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.327, allocations: 0 / 0.7371 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.327, allocations: 0 / 0.7371 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.327, allocations: 0 / 0.7371 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3271, allocations: 157.6 kB / 0.7372 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3271, allocations: 0 / 0.7372 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3271, allocations: 3.984 kB / 0.7372 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3271, allocations: 4 kB / 0.7372 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3272, allocations: 4 kB / 0.7372 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3272, allocations: 0 / 0.7372 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3272, allocations: 7.984 kB / 0.7373 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.3273, allocations: 65.08 kB / 0.7373 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3274, allocations: 81.11 kB / 0.7374 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3274, allocations: 0 / 0.7374 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.3274, allocations: 3.938 kB / 0.7374 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.3275, allocations: 3.984 kB / 0.7374 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3275, allocations: 4.031 kB / 0.7374 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.3275, allocations: 79.28 kB / 0.7375 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3275, allocations: 0 / 0.7375 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000161/0.3277, allocations: 0 / 0.7375 GB, free: 5.469 MB / 0.5105 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 () * Number of clocked 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.0004355/0.3282, allocations: 0.6102 MB / 0.7381 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.3283, allocations: 11.98 kB / 0.7381 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3283, allocations: 3.938 kB / 0.7381 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.3284, allocations: 4 kB / 0.7381 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.591e-05/0.3284, allocations: 2.234 kB / 0.7381 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.3288, allocations: 124.3 kB / 0.7382 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3291, allocations: 0.677 MB / 0.7389 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.3291, allocations: 0 / 0.7389 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.3291, allocations: 7.438 kB / 0.7389 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/0.3292, allocations: 0 / 0.7389 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.3397, allocations: 0.7552 MB / 0.7396 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.34, allocations: 196.2 kB / 0.7398 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/1.735, allocations: 0 / 0.7398 GB, free: 3.066 MB / 0.5105 GB (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)