Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 181.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5645/0.5645, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.1 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 103.1 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003738, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.6498, allocations: 100.8 MB / 0.6674 GB, free: 3.617 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.6502, allocations: 75.95 kB / 0.6674 GB, free: 3.543 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001479/0.6517, allocations: 0.5391 MB / 0.668 GB, free: 3.012 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6517, allocations: 0 / 0.668 GB, free: 3.012 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.6517, allocations: 7.938 kB / 0.668 GB, free: 3.004 MB / 458.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.0003028/0.652, allocations: 317.7 kB / 0.6683 GB, free: 2.648 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.6521, allocations: 12.09 kB / 0.6683 GB, free: 2.637 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.6521, allocations: 37.61 kB / 0.6683 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.6523, allocations: 15.94 kB / 0.6683 GB, free: 2.578 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.6524, allocations: 166.6 kB / 0.6685 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.6524, allocations: 0 / 0.6685 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.6525, allocations: 0 / 0.6685 GB, free: 2.379 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.6526, allocations: 37.69 kB / 0.6685 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.6527, allocations: 0 / 0.6685 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.6527, allocations: 0 / 0.6685 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.6527, allocations: 0 / 0.6685 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.545e-05/0.6528, allocations: 15.94 kB / 0.6686 GB, free: 2.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.6529, allocations: 150.2 kB / 0.6687 GB, free: 2.125 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.796e-05/0.653, allocations: 26.59 kB / 0.6687 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.6531, allocations: 0 / 0.6687 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.6531, allocations: 34.62 kB / 0.6688 GB, free: 2.047 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.6531, allocations: 2.188 kB / 0.6688 GB, free: 2.047 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002332/0.6533, allocations: 49.61 kB / 0.6688 GB, free: 1.992 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.6534, allocations: 51.41 kB / 0.6689 GB, free: 1.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.6534, allocations: 89.12 kB / 0.6689 GB, free: 1.836 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.6534, allocations: 29.7 kB / 0.669 GB, free: 1.801 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.6535, allocations: 80.14 kB / 0.669 GB, free: 1.719 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.6535, allocations: 3.906 kB / 0.669 GB, free: 1.715 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.6535, allocations: 0 / 0.669 GB, free: 1.715 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6537, allocations: 314.8 kB / 0.6693 GB, free: 1.398 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.6537, allocations: 7.984 kB / 0.6694 GB, free: 1.391 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.6537, allocations: 4 kB / 0.6694 GB, free: 1.387 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.991e-05/0.6538, allocations: 12.05 kB / 0.6694 GB, free: 1.375 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6538, allocations: 0 / 0.6694 GB, free: 1.375 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.6539, allocations: 41.69 kB / 0.6694 GB, free: 1.328 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.654, allocations: 4 kB / 0.6694 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.654, allocations: 0 / 0.6694 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.654, allocations: 0 / 0.6694 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.6541, allocations: 7.938 kB / 0.6694 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6541, allocations: 0.7812 kB / 0.6694 GB, free: 1.316 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.783e-05/0.6541, allocations: 12.02 kB / 0.6694 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.6542, allocations: 0.5469 kB / 0.6694 GB, free: 1.305 MB / 458.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 () * 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 7.478e-05/0.6542, allocations: 113.7 kB / 0.6695 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-06/0.6542, allocations: 0 / 0.6695 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.6543, allocations: 3.125 kB / 0.6695 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6543, allocations: 4 kB / 0.6695 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6543, allocations: 3.938 kB / 0.6696 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6543, allocations: 0 / 0.6696 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.6544, allocations: 153.6 kB / 0.6697 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6544, allocations: 0 / 0.6697 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.6545, allocations: 4 kB / 0.6697 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6545, allocations: 0 / 0.6697 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.6545, allocations: 7.938 kB / 0.6697 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6545, allocations: 3.984 kB / 0.6697 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6545, allocations: 0 / 0.6697 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.6547, allocations: 73.02 kB / 0.6698 GB, free: 0.875 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.6547, allocations: 77.11 kB / 0.6699 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.6548, allocations: 0 / 0.6699 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.6548, allocations: 7.984 kB / 0.6699 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.6548, allocations: 0 / 0.6699 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.6548, allocations: 0 / 0.6699 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.6549, allocations: 79.28 kB / 0.6699 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6549, allocations: 0 / 0.6699 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.655, allocations: 0 / 0.6699 GB, free: 0.6953 MB / 458.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 () * 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.0005339/0.6556, allocations: 0.6047 MB / 0.6705 GB, free: 64 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.6557, allocations: 15.92 kB / 0.6705 GB, free: 48 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6557, allocations: 96 / 0.6705 GB, free: 48 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.6558, allocations: 8 kB / 0.6706 GB, free: 40 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.837e-05/0.6559, allocations: 0 / 0.6706 GB, free: 40 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.6563, allocations: 100.9 kB / 0.6707 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.6566, allocations: 0.6809 MB / 0.6713 GB, free: 15.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.36e-05/0.6567, allocations: 4.062 kB / 0.6713 GB, free: 15.19 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.6567, allocations: 15.38 kB / 0.6713 GB, free: 15.17 MB / 474.7 MB Notification: Performance of SimCode: time 3e-07/0.6567, allocations: 0 / 0.6713 GB, free: 15.17 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.67, allocations: 0.7322 MB / 0.672 GB, free: 14.56 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003036/0.6704, allocations: 184.8 kB / 0.6722 GB, free: 14.31 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.201, allocations: 0 / 0.6722 GB, free: 14.31 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)