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.0006153/0.0006153, allocations: 93.25 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007221/0.0007221, allocations: 172.4 kB / 16.58 MB, free: 5.676 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.181/1.181, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6016/0.6016, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002632, allocations: 9.062 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 77.1 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0006408/0.1223, allocations: 303.1 kB / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002185/0.1226, allocations: 47.89 kB / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-06/0.1226, allocations: 0 / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.064e-05/0.1226, allocations: 0 / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.1226, allocations: 0 / 0.5572 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1228, allocations: 11.98 kB / 0.5573 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.437e-05/0.1229, allocations: 0 / 0.5573 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.1229, allocations: 3.984 kB / 0.5573 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.1229, allocations: 4 kB / 0.5573 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.925e-05/0.123, allocations: 7.875 kB / 0.5573 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.123, allocations: 0 / 0.5573 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.906e-05/0.1231, allocations: 15.98 kB / 0.5573 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-06/0.1231, allocations: 8 kB / 0.5573 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.1231, allocations: 25.7 kB / 0.5573 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.246e-05/0.1232, allocations: 7.984 kB / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1232, allocations: 0 / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1232, allocations: 0 / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.1232, allocations: 0 / 0.5573 GB, free: 11.22 MB / 430.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.0002248/0.1234, allocations: 319.4 kB / 0.5576 GB, free: 10.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1235, allocations: 8.031 kB / 0.5576 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.1235, allocations: 34.55 kB / 0.5577 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.1237, allocations: 19.97 kB / 0.5577 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.706e-05/0.1238, allocations: 159.1 kB / 0.5578 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1238, allocations: 7.938 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.1238, allocations: 0 / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1239, allocations: 37.64 kB / 0.5579 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1239, allocations: 3.938 kB / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.633e-06/0.124, allocations: 0 / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.124, allocations: 0 / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.566e-05/0.124, allocations: 11.98 kB / 0.5579 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.1242, allocations: 153.7 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.1242, allocations: 18.61 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.1243, allocations: 16.91 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1243, allocations: 0 / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.1243, allocations: 34.56 kB / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1243, allocations: 0 / 0.5581 GB, free: 10.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001854/0.1245, allocations: 57.56 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1246, allocations: 51.41 kB / 0.5582 GB, free: 10.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.344e-05/0.1246, allocations: 89.86 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.1246, allocations: 25.7 kB / 0.5583 GB, free: 9.988 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.1246, allocations: 84.25 kB / 0.5584 GB, free: 9.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1247, allocations: 4 kB / 0.5584 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1247, allocations: 0 / 0.5584 GB, free: 9.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1248, allocations: 314.8 kB / 0.5587 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.1248, allocations: 7.984 kB / 0.5587 GB, free: 9.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.1249, allocations: 4 kB / 0.5587 GB, free: 9.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.1249, allocations: 11.98 kB / 0.5587 GB, free: 9.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1249, allocations: 0 / 0.5587 GB, free: 9.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.125, allocations: 45.69 kB / 0.5588 GB, free: 9.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1251, allocations: 8 kB / 0.5588 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1251, allocations: 0 / 0.5588 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1251, allocations: 0 / 0.5588 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.1252, allocations: 7.953 kB / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1252, allocations: 0 / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.1252, allocations: 7.891 kB / 0.5588 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1252, allocations: 0 / 0.5588 GB, free: 9.484 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.1253, allocations: 110.5 kB / 0.5589 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1253, allocations: 4 kB / 0.5589 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.1254, allocations: 3.125 kB / 0.5589 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1254, allocations: 0 / 0.5589 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1254, allocations: 3.953 kB / 0.5589 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1254, allocations: 0 / 0.5589 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.1255, allocations: 149.7 kB / 0.5591 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1255, allocations: 0 / 0.5591 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.1256, allocations: 8 kB / 0.5591 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1256, allocations: 7.938 kB / 0.5591 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1256, allocations: 0 / 0.5591 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1256, allocations: 7.984 kB / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1256, allocations: 0 / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.1257, allocations: 67.08 kB / 0.5591 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.1258, allocations: 81.39 kB / 0.5592 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.1258, allocations: 4 kB / 0.5592 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.1258, allocations: 8.016 kB / 0.5592 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.1259, allocations: 0 / 0.5592 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.1259, allocations: 0 / 0.5592 GB, free: 8.941 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.1259, allocations: 75.28 kB / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1259, allocations: 0 / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001705/0.1261, allocations: 7.953 kB / 0.5593 GB, free: 8.859 MB / 430.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 (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.000476/0.1266, allocations: 0.6014 MB / 0.5599 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1267, allocations: 15.92 kB / 0.5599 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1267, allocations: 0 / 0.5599 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.1268, allocations: 4 kB / 0.5599 GB, free: 8.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.1269, allocations: 12.09 kB / 0.5599 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.1273, allocations: 112.4 kB / 0.56 GB, free: 8.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1276, allocations: 0.6692 MB / 0.5607 GB, free: 7.352 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.986e-05/0.1277, allocations: 3.984 kB / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.1277, allocations: 11.44 kB / 0.5607 GB, free: 7.336 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1277, allocations: 4 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00969/0.1374, allocations: 0.7508 MB / 0.5614 GB, free: 6.723 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.1376, allocations: 187.2 kB / 0.5616 GB, free: 6.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.395/1.532, allocations: 0 / 0.5616 GB, free: 6.48 MB / 430.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/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) Environment - environmentSimulation: