Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001342/0.001342, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003049/0.003049, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002559/0.002559, allocations: 289.7 kB / 312.7 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.191/1.191, allocations: 180.6 MB / 0.5369 GB, free: 14.46 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00298/0.00298, allocations: 101.7 kB / 0.7395 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.176, allocations: 95.38 MB / 0.8327 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001751/0.1777, allocations: 0.596 MB / 0.8333 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002626/0.178, allocations: 48.2 kB / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.178, allocations: 0 / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.074e-05/0.178, allocations: 0 / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.178, allocations: 0 / 0.8333 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.1783, allocations: 19.92 kB / 0.8333 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.1783, allocations: 0 / 0.8333 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1783, allocations: 4 kB / 0.8333 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.1784, allocations: 7.984 kB / 0.8333 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.865e-05/0.1784, allocations: 0 / 0.8333 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.1784, allocations: 0 / 0.8333 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.1785, allocations: 19.97 kB / 0.8334 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1785, allocations: 4 kB / 0.8334 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.257e-05/0.1785, allocations: 0 / 0.8334 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 8.477e-05/0.1786, allocations: 16.2 kB / 0.8334 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1786, allocations: 3.938 kB / 0.8334 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1786, allocations: 0 / 0.8334 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1786, allocations: 4 kB / 0.8334 GB, free: 7.543 MB / 0.5762 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.0002727/0.1789, allocations: 250.4 kB / 0.8336 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.1789, allocations: 9.344 kB / 0.8336 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.1789, allocations: 34.75 kB / 0.8337 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.1792, allocations: 16.91 kB / 0.8337 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.703e-05/0.1793, allocations: 106.5 kB / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1793, allocations: 384 / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-06/0.1793, allocations: 384 / 0.8338 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1794, allocations: 34.25 kB / 0.8338 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1794, allocations: 11.88 kB / 0.8338 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1794, allocations: 0 / 0.8338 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1794, allocations: 0 / 0.8338 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.684e-05/0.1795, allocations: 11.98 kB / 0.8338 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.1796, allocations: 124.7 kB / 0.834 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.1797, allocations: 18.61 kB / 0.834 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.1798, allocations: 12.91 kB / 0.834 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1798, allocations: 0 / 0.834 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1798, allocations: 38.56 kB / 0.834 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1798, allocations: 0 / 0.834 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0002249/0.18, allocations: 53.55 kB / 0.8341 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1801, allocations: 55.41 kB / 0.8341 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.478e-05/0.1801, allocations: 89.86 kB / 0.8342 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1802, allocations: 25.7 kB / 0.8342 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.1802, allocations: 80.14 kB / 0.8343 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.1802, allocations: 0 / 0.8343 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.1802, allocations: 13.84 kB / 0.8343 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1804, allocations: 314.8 kB / 0.8346 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.959e-05/0.1804, allocations: 7.984 kB / 0.8346 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.1804, allocations: 4 kB / 0.8346 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.061e-05/0.1805, allocations: 24.78 kB / 0.8347 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1805, allocations: 0 / 0.8347 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.1807, allocations: 45.62 kB / 0.8347 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.1807, allocations: 8.094 kB / 0.8347 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1807, allocations: 7.922 kB / 0.8347 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1807, allocations: 3.984 kB / 0.8347 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.1808, allocations: 4 kB / 0.8347 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1808, allocations: 0 / 0.8347 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.1808, allocations: 0 / 0.8347 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1808, allocations: 4 kB / 0.8347 GB, free: 5.965 MB / 0.5762 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 6.954e-05/0.1809, allocations: 106.5 kB / 0.8348 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-06/0.1809, allocations: 7.922 kB / 0.8348 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.1809, allocations: 10.94 kB / 0.8349 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1809, allocations: 0 / 0.8349 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1809, allocations: 0 / 0.8349 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1809, allocations: 4 kB / 0.8349 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.942e-05/0.181, allocations: 116.8 kB / 0.835 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.181, allocations: 0 / 0.835 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.181, allocations: 7.984 kB / 0.835 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.181, allocations: 3.938 kB / 0.835 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.1811, allocations: 3.938 kB / 0.835 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1811, allocations: 0 / 0.835 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1811, allocations: 0 / 0.835 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1812, allocations: 69.12 kB / 0.835 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.1812, allocations: 3.984 kB / 0.8351 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1812, allocations: 7.938 kB / 0.8351 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.932e-05/0.1812, allocations: 0 / 0.8351 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-06/0.1813, allocations: 0 / 0.8351 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1813, allocations: 0 / 0.8351 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.168e-05/0.1813, allocations: 75.28 kB / 0.8351 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1813, allocations: 0 / 0.8351 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001741/0.1815, allocations: 4 kB / 0.8351 GB, free: 5.48 MB / 0.5762 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.0004277/0.1819, allocations: 0.6084 MB / 0.8357 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.182, allocations: 11.98 kB / 0.8357 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.182, allocations: 0 / 0.8357 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.1821, allocations: 7.984 kB / 0.8357 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.1822, allocations: 6.578 kB / 0.8358 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.1825, allocations: 118.8 kB / 0.8359 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/0.1826, allocations: 59.3 kB / 0.8359 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.1826, allocations: 0 / 0.8359 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.1826, allocations: 7.438 kB / 0.8359 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1826, allocations: 0 / 0.8359 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.2094, allocations: 1.474 MB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.14, allocations: 7.422 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegStep.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.268386400770396] Failed to read output from testmodel.py, exit status != 0: 11.261636865325272 11.287092707 11.104095825 Calling exit ...