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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 109.1 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 190.6 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7042/0.7042, allocations: 115.3 MB / 406.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.43, allocations: 76.17 MB / 0.556 GB, free: 36.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.00195/0.432, allocations: 0.6409 MB / 0.5567 GB, free: 36.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002458/0.4323, allocations: 48.45 kB / 0.5567 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.4323, allocations: 0 / 0.5567 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.4323, allocations: 2.469 kB / 0.5567 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.4323, allocations: 0 / 0.5567 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.4326, allocations: 17.42 kB / 0.5567 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.691e-05/0.4326, allocations: 1.25 kB / 0.5567 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.4327, allocations: 1.75 kB / 0.5567 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.4327, allocations: 2.188 kB / 0.5567 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.12e-05/0.4327, allocations: 0 / 0.5567 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.4327, allocations: 1.594 kB / 0.5567 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4328, allocations: 20.23 kB / 0.5567 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.4329, allocations: 8.078 kB / 0.5568 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.4329, allocations: 7.922 kB / 0.5568 GB, free: 36.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.983e-05/0.433, allocations: 11.64 kB / 0.5568 GB, free: 36.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.433, allocations: 2.406 kB / 0.5568 GB, free: 36.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.433, allocations: 0 / 0.5568 GB, free: 36.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.433, allocations: 0.625 kB / 0.5568 GB, free: 36.06 MB / 446.1 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.0002458/0.4332, allocations: 319.4 kB / 0.5571 GB, free: 35.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4333, allocations: 10.12 kB / 0.5571 GB, free: 35.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.446e-05/0.4333, allocations: 31.31 kB / 0.5571 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.4336, allocations: 19.62 kB / 0.5571 GB, free: 35.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.4337, allocations: 163 kB / 0.5573 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.4337, allocations: 2.094 kB / 0.5573 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.4337, allocations: 2.781 kB / 0.5573 GB, free: 35.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.4338, allocations: 38.16 kB / 0.5573 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4339, allocations: 3.938 kB / 0.5573 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.4339, allocations: 0 / 0.5573 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4339, allocations: 2.875 kB / 0.5573 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.434, allocations: 10.33 kB / 0.5573 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.4341, allocations: 148.7 kB / 0.5575 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.4342, allocations: 22.45 kB / 0.5575 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.4342, allocations: 11.95 kB / 0.5575 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.4342, allocations: 3.328 kB / 0.5575 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.4343, allocations: 36.5 kB / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.4343, allocations: 0.5625 kB / 0.5576 GB, free: 35.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002272/0.4345, allocations: 50.77 kB / 0.5576 GB, free: 35.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.4346, allocations: 52.34 kB / 0.5577 GB, free: 35.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.318e-05/0.4346, allocations: 92.28 kB / 0.5577 GB, free: 34.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.4346, allocations: 26.89 kB / 0.5578 GB, free: 34.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.612e-05/0.4346, allocations: 80.14 kB / 0.5579 GB, free: 34.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.4347, allocations: 1.312 kB / 0.5579 GB, free: 34.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.4347, allocations: 15.36 kB / 0.5579 GB, free: 34.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.4348, allocations: 317.5 kB / 0.5582 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.4348, allocations: 6.781 kB / 0.5582 GB, free: 34.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.4348, allocations: 8.906 kB / 0.5582 GB, free: 34.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.4349, allocations: 17.52 kB / 0.5582 GB, free: 34.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4349, allocations: 1.562 kB / 0.5582 GB, free: 34.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/0.4351, allocations: 44.61 kB / 0.5582 GB, free: 34.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.4351, allocations: 6.031 kB / 0.5583 GB, free: 34.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4351, allocations: 5.281 kB / 0.5583 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4351, allocations: 1.625 kB / 0.5583 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.4352, allocations: 5.719 kB / 0.5583 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4352, allocations: 3.125 kB / 0.5583 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.4352, allocations: 1.281 kB / 0.5583 GB, free: 34.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.4353, allocations: 4.328 kB / 0.5583 GB, free: 34.46 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.4353, allocations: 105.8 kB / 0.5584 GB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.4353, allocations: 1.406 kB / 0.5584 GB, free: 34.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.4354, allocations: 12 kB / 0.5584 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4354, allocations: 1.312 kB / 0.5584 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4354, allocations: 3.938 kB / 0.5584 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.4354, allocations: 1.062 kB / 0.5584 GB, free: 34.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.159e-05/0.4354, allocations: 146.5 kB / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4355, allocations: 0 / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.4355, allocations: 11.47 kB / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4355, allocations: 0 / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.4355, allocations: 5.812 kB / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4355, allocations: 1.188 kB / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4355, allocations: 0 / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.4357, allocations: 72.95 kB / 0.5586 GB, free: 34.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.4357, allocations: 81 kB / 0.5587 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.4357, allocations: 5.156 kB / 0.5587 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/0.4357, allocations: 2.469 kB / 0.5587 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/0.4358, allocations: 0 / 0.5587 GB, free: 33.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4358, allocations: 2.094 kB / 0.5587 GB, free: 33.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.278e-05/0.4358, allocations: 75.28 kB / 0.5588 GB, free: 33.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4358, allocations: 1.625 kB / 0.5588 GB, free: 33.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001708/0.436, allocations: 4 kB / 0.5588 GB, free: 33.9 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003053/0.4363, allocations: 0.6059 MB / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.4364, allocations: 16.08 kB / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4364, allocations: 0 / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/0.4365, allocations: 5.641 kB / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.4366, allocations: 7.172 kB / 0.5594 GB, free: 33.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.437, allocations: 111.8 kB / 0.5595 GB, free: 33.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.4371, allocations: 0.6742 MB / 0.5602 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.738e-05/0.4371, allocations: 2.969 kB / 0.5602 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.4372, allocations: 9.75 kB / 0.5602 GB, free: 32.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4372, allocations: 0 / 0.5602 GB, free: 32.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.4511, allocations: 0.848 MB / 0.561 GB, free: 32.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.4513, allocations: 194.1 kB / 0.5612 GB, free: 32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.064, allocations: 0 / 0.5612 GB, free: 32 MB / 446.1 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/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)