Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.000788/0.000788, allocations: 72.5 kB / 19.92 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.0008686/0.0008686, allocations: 173.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.9102/0.9102, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5717/0.5717, allocations: 114 MB / 373.9 MB, free: 8.723 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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5542 GB, free: 1.66 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.842e-05, allocations: 8.047 kB / 0.5542 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001119/0.001138, allocations: 0.586 MB / 0.5548 GB, free: 1.07 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.00225, allocations: 1.124 MB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.002273, allocations: 4 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.002289, allocations: 0 / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.002528, allocations: 23.78 kB / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.002532, allocations: 4 kB / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.002577, allocations: 4 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.002618, allocations: 0 / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.5e-05/0.002643, allocations: 4 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.546e-05/0.002669, allocations: 11.92 kB / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.235e-06/0.002677, allocations: 3.938 kB / 0.556 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.002776, allocations: 15.92 kB / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.002786, allocations: 0 / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.183e-05/0.002798, allocations: 0 / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.125e-05/0.002879, allocations: 19.92 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002882, allocations: 4 kB / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.002884, allocations: 0 / 0.556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.002888, allocations: 0 / 0.556 GB, free: 15.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002199/0.003108, allocations: 239.1 kB / 0.5562 GB, free: 15.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.003147, allocations: 12.62 kB / 0.5562 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.003177, allocations: 38.75 kB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.003355, allocations: 16.91 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.909e-05/0.003414, allocations: 101.8 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.003424, allocations: 384 / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.003446, allocations: 4.375 kB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.464e-05/0.003541, allocations: 38.25 kB / 0.5564 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.003551, allocations: 8.125 kB / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.003561, allocations: 4.125 kB / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.003565, allocations: 0 / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.003605, allocations: 11.97 kB / 0.5565 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.003713, allocations: 120.8 kB / 0.5566 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.003861, allocations: 30.61 kB / 0.5566 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.003879, allocations: 12.86 kB / 0.5566 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.003897, allocations: 0 / 0.5566 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.003916, allocations: 38.5 kB / 0.5567 GB, free: 15.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.003916, allocations: 0 / 0.5567 GB, free: 15.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.001746/0.005662, allocations: 0.5481 MB / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.005692, allocations: 51.41 kB / 0.5572 GB, free: 14.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.423e-05/0.005716, allocations: 93.86 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.00573, allocations: 29.69 kB / 0.5574 GB, free: 14.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.005749, allocations: 84.14 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.005782, allocations: 15.89 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.005819, allocations: 17.72 kB / 0.5575 GB, free: 14.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.005892, allocations: 318.8 kB / 0.5578 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.006137, allocations: 79.95 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.006385, allocations: 102.5 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.006876, allocations: 190.4 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.006878, allocations: 4 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005212/0.007399, allocations: 217.5 kB / 0.5583 GB, free: 13.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007409, allocations: 4 kB / 0.5583 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.007416, allocations: 12 kB / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.007426, allocations: 3.938 kB / 0.5584 GB, free: 13.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.007593, allocations: 47.97 kB / 0.5584 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.007599, allocations: 4 kB / 0.5584 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.007737, allocations: 43.97 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.007746, allocations: 0 / 0.5584 GB, free: 13.12 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 (5): * Single equations (assignments): 5 * 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.856e-05/0.007805, allocations: 113.8 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.007816, allocations: 3.953 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.007857, allocations: 11.59 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.00786, allocations: 4 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.007864, allocations: 0 / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007866, allocations: 0 / 0.5586 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007153/0.008581, allocations: 425.7 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008582, allocations: 4 kB / 0.559 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.008738, allocations: 51.97 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.00874, allocations: 4 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.008752, allocations: 3.984 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.008753, allocations: 0 / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.008755, allocations: 3.938 kB / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.009302, allocations: 307.4 kB / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.009305, allocations: 0 / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.009319, allocations: 0 / 0.5593 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.009474, allocations: 39.98 kB / 0.5594 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.009485, allocations: 3.984 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.009492, allocations: 4 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.26e-05/0.009514, allocations: 79.28 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009514, allocations: 4 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.00967, allocations: 8 kB / 0.5595 GB, free: 12 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 (5): * Single equations (assignments): 5 * 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.0007292/0.0104, allocations: 0.8334 MB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005404/0.01094, allocations: 175.9 kB / 0.5605 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01094, allocations: 192 / 0.5605 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.01119, allocations: 95.89 kB / 0.5605 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.01133, allocations: 8 kB / 0.5606 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.01203, allocations: 250.6 kB / 0.5608 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.01206, allocations: 63.3 kB / 0.5608 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.01217, allocations: 28 kB / 0.5609 GB, free: 10.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.01224, allocations: 16.48 kB / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01224, allocations: 0 / 0.5609 GB, free: 10.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.02673, allocations: 2.259 MB / 0.5631 GB, free: 8.371 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.172, allocations: 0 / 0.5631 GB, free: 8.371 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.631609618663788] Failed to read output from testmodel.py, exit status != 0: 7.250975601375103 7.265790451 7.260173101 Calling exit ...