Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.0008546/0.0008546, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009277/0.0009277, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9397/0.9397, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5997/0.5997, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 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.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.216e-05, allocations: 11.02 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002023/0.002045, allocations: 1.759 MB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.002895, allocations: 0.6969 MB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.002955, allocations: 0 / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.002988, allocations: 11.86 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.377e-05/0.003042, allocations: 23.73 kB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.003493, allocations: 186 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.003636, allocations: 123.6 kB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.003766, allocations: 45.53 kB / 0.557 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.003914, allocations: 83.8 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.003974, allocations: 35.89 kB / 0.5571 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.003994, allocations: 12 kB / 0.5571 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.00408, allocations: 47.97 kB / 0.5571 GB, free: 14.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.004104, allocations: 31.89 kB / 0.5572 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.004136, allocations: 39.89 kB / 0.5572 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.004322, allocations: 175.4 kB / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004323, allocations: 0 / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004324, allocations: 0 / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.004329, allocations: 0 / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004289/0.004757, allocations: 365.7 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.004796, allocations: 8.625 kB / 0.5577 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.004834, allocations: 50.72 kB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004983/0.005332, allocations: 128.7 kB / 0.5579 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.005543, allocations: 163.3 kB / 0.5581 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.005622, allocations: 111.4 kB / 0.5582 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.005638, allocations: 16.38 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.005946, allocations: 221 kB / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.005954, allocations: 0 / 0.5584 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.005969, allocations: 4 kB / 0.5584 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.005973, allocations: 7.938 kB / 0.5584 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.006272, allocations: 160.6 kB / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.006881, allocations: 425.3 kB / 0.559 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.007351, allocations: 214.3 kB / 0.5592 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.007496, allocations: 80.91 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.007519, allocations: 7.984 kB / 0.5592 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.007538, allocations: 30.56 kB / 0.5593 GB, free: 12.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.007539, allocations: 0 / 0.5593 GB, free: 12.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000542/0.008081, allocations: 261.4 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.008112, allocations: 51.41 kB / 0.5596 GB, free: 11.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.008201, allocations: 155 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.008219, allocations: 25.7 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.008268, allocations: 112.3 kB / 0.5599 GB, free: 11.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.008285, allocations: 15.8 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.008331, allocations: 29.7 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.008406, allocations: 322.8 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.008552, allocations: 71.92 kB / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.008705, allocations: 94.48 kB / 0.5604 GB, free: 11.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.008998, allocations: 166.4 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009, allocations: 0 / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003434/0.009343, allocations: 205.7 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009358, allocations: 7.938 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009362, allocations: 0 / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.009374, allocations: 4 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.009497, allocations: 35.95 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.009504, allocations: 7.984 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.009584, allocations: 19.97 kB / 0.5608 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.009594, allocations: 8 kB / 0.5608 GB, free: 10.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001e-05/0.009664, allocations: 121.8 kB / 0.5609 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.009688, allocations: 11.89 kB / 0.5609 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.01005, allocations: 210.2 kB / 0.5611 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01005, allocations: 7.984 kB / 0.5611 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01006, allocations: 0 / 0.5611 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01006, allocations: 0 / 0.5611 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.01021, allocations: 185.4 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01021, allocations: 0 / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-05/0.0103, allocations: 31.95 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01031, allocations: 3.938 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.01032, allocations: 3.984 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.01032, allocations: 8 kB / 0.5614 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01032, allocations: 0 / 0.5614 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.01066, allocations: 287.3 kB / 0.5616 GB, free: 9.742 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.01067, allocations: 15.89 kB / 0.5616 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.01069, allocations: 3.938 kB / 0.5616 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.01081, allocations: 35.94 kB / 0.5617 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.01084, allocations: 7.984 kB / 0.5617 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01085, allocations: 8.172 kB / 0.5617 GB, free: 9.672 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.0109, allocations: 111.4 kB / 0.5618 GB, free: 9.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0109, allocations: 0 / 0.5618 GB, free: 9.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.01108, allocations: 23.95 kB / 0.5618 GB, free: 9.543 MB / 490.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 (6): * Single equations (assignments): 6 * 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.0005173/0.0116, allocations: 0.8216 MB / 0.5626 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.01192, allocations: 159.8 kB / 0.5628 GB, free: 8.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01193, allocations: 4 kB / 0.5628 GB, free: 8.531 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.01207, allocations: 83.84 kB / 0.5629 GB, free: 8.449 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01227, allocations: 13.97 kB / 0.5629 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.01397, allocations: 1.851 MB / 0.5647 GB, free: 6.496 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.101e-05/0.01403, allocations: 85.31 kB / 0.5648 GB, free: 6.391 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.01408, allocations: 19.98 kB / 0.5648 GB, free: 6.371 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.01415, allocations: 32.48 kB / 0.5648 GB, free: 6.34 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01415, allocations: 0 / 0.5648 GB, free: 6.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.02896, allocations: 3.587 MB / 0.5683 GB, free: 2.922 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.156, allocations: 4.219 kB / 0.5683 GB, free: 2.918 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.730960310436785] Failed to read output from testmodel.py, exit status != 0: 7.236290974542499 7.250569757 7.243765655 Calling exit ...