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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 117.9 kB / 19.7 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 219 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.017/1.017, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 62 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 89.18 MB / 0.7284 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001946/0.1738, allocations: 0.576 MB / 0.729 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.1741, allocations: 47.8 kB / 0.729 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.1741, allocations: 3.938 kB / 0.729 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.1741, allocations: 0 / 0.729 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1741, allocations: 0 / 0.729 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1743, allocations: 19.92 kB / 0.729 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.087e-05/0.1744, allocations: 4 kB / 0.729 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1744, allocations: 4 kB / 0.729 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.1744, allocations: 0 / 0.729 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.498e-05/0.1745, allocations: 7.938 kB / 0.729 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1745, allocations: 0 / 0.729 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1746, allocations: 19.97 kB / 0.7291 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.1746, allocations: 7.984 kB / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.725e-05/0.1746, allocations: 0 / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.1747, allocations: 11.98 kB / 0.7291 GB, free: 0.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1747, allocations: 0 / 0.7291 GB, free: 0.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1747, allocations: 0 / 0.7291 GB, free: 0.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1747, allocations: 0 / 0.7291 GB, free: 0.5 MB / 0.545 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.0003227/0.1751, allocations: 246.7 kB / 0.7293 GB, free: 232 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.1751, allocations: 12.03 kB / 0.7293 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1751, allocations: 30.75 kB / 0.7294 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.1754, allocations: 16.91 kB / 0.7294 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.908e-05/0.1755, allocations: 110.4 kB / 0.7295 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1755, allocations: 4.375 kB / 0.7295 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.1755, allocations: 4.375 kB / 0.7295 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1757, allocations: 38.25 kB / 0.7295 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1757, allocations: 3.938 kB / 0.7295 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1757, allocations: 0 / 0.7295 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1757, allocations: 0 / 0.7295 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.861e-05/0.1758, allocations: 11.98 kB / 0.7295 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.176, allocations: 120.8 kB / 0.7297 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.1761, allocations: 26.55 kB / 0.7297 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.1761, allocations: 8.844 kB / 0.7297 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1761, allocations: 4.062 kB / 0.7297 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.1762, allocations: 34.56 kB / 0.7297 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1762, allocations: 0 / 0.7297 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002392/0.1764, allocations: 49.61 kB / 0.7298 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1764, allocations: 55.53 kB / 0.7298 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.682e-05/0.1765, allocations: 93.8 kB / 0.7299 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1765, allocations: 25.7 kB / 0.7299 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.1765, allocations: 80.14 kB / 0.73 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1766, allocations: 3.953 kB / 0.73 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1766, allocations: 17.72 kB / 0.73 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.1767, allocations: 310.8 kB / 0.7303 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.1768, allocations: 7.984 kB / 0.7303 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.1768, allocations: 4 kB / 0.7303 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.1769, allocations: 16.84 kB / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1769, allocations: 0 / 0.7304 GB, free: 15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001245/0.177, allocations: 45.67 kB / 0.7304 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.177, allocations: 4 kB / 0.7304 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1771, allocations: 3.938 kB / 0.7304 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1771, allocations: 8.031 kB / 0.7304 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.1771, allocations: 7.938 kB / 0.7304 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1771, allocations: 3.984 kB / 0.7304 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.1772, allocations: 0 / 0.7304 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1772, allocations: 3.984 kB / 0.7304 GB, free: 14.92 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.668e-05/0.1773, allocations: 113.8 kB / 0.7305 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.1773, allocations: 0 / 0.7305 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.1773, allocations: 10.88 kB / 0.7306 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1773, allocations: 4 kB / 0.7306 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1773, allocations: 0 / 0.7306 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1773, allocations: 0 / 0.7306 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.1774, allocations: 120.8 kB / 0.7307 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1774, allocations: 0 / 0.7307 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.1775, allocations: 7.984 kB / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1775, allocations: 0 / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1775, allocations: 3.938 kB / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1775, allocations: 0 / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1775, allocations: 0 / 0.7307 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1776, allocations: 77.05 kB / 0.7308 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-06/0.1776, allocations: 0 / 0.7308 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1777, allocations: 7.938 kB / 0.7308 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.956e-05/0.1777, allocations: 0 / 0.7308 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.1777, allocations: 4 kB / 0.7308 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1777, allocations: 0 / 0.7308 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.1777, allocations: 79.31 kB / 0.7308 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1777, allocations: 0 / 0.7308 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001727/0.1779, allocations: 0 / 0.7308 GB, free: 14.43 MB / 0.5606 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 (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.0004598/0.1784, allocations: 0.6007 MB / 0.7314 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.1785, allocations: 23.95 kB / 0.7315 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1785, allocations: 0 / 0.7315 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.386e-05/0.1786, allocations: 7.984 kB / 0.7315 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1787, allocations: 3.938 kB / 0.7315 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.1791, allocations: 106.6 kB / 0.7316 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1794, allocations: 0.6691 MB / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.1794, allocations: 8 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.1794, allocations: 15.42 kB / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.1794, allocations: 0 / 0.7322 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05136/0.2308, allocations: 1.044 MB / 0.7333 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.28, allocations: 10.08 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB " [Timeout remaining time 649] (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 --stepSize=0.0008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.18921148008667] Failed to read output from testmodel.py, exit status != 0: 11.389373698970303 11.415977418 11.236398510999999 Calling exit ...