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.0008664/0.0008664, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0009982/0.0009982, 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.9178/0.9178, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5732/0.5732, allocations: 114 MB / 373.9 MB, free: 8.684 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 2.304e-06/2.304e-06, allocations: 0 / 0.5542 GB, free: 1.668 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.118e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002729/0.00276, allocations: 1.77 MB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003779, allocations: 0.6891 MB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.003855, allocations: 7.938 kB / 0.5566 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.003892, allocations: 7.875 kB / 0.5566 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.004026, allocations: 27.72 kB / 0.5566 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.004613, allocations: 182.5 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.004779, allocations: 127.6 kB / 0.5569 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.004912, allocations: 41.53 kB / 0.557 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.005084, allocations: 79.86 kB / 0.557 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.75e-05/0.005162, allocations: 35.89 kB / 0.5571 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.005186, allocations: 12 kB / 0.5571 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.005288, allocations: 55.89 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.005312, allocations: 23.91 kB / 0.5572 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.005351, allocations: 43.89 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.00556, allocations: 179.4 kB / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005563, allocations: 0 / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.005565, allocations: 0 / 0.5574 GB, free: 14.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.00557, allocations: 4 kB / 0.5574 GB, free: 14.38 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.0004568/0.006027, allocations: 362.6 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.006068, allocations: 12.62 kB / 0.5577 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.006112, allocations: 38.75 kB / 0.5578 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/0.006628, allocations: 132.6 kB / 0.5579 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.006865, allocations: 155.4 kB / 0.558 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.785e-05/0.006952, allocations: 115.4 kB / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.006968, allocations: 12.31 kB / 0.5582 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.007309, allocations: 221 kB / 0.5584 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.007316, allocations: 4 kB / 0.5584 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.007335, allocations: 8 kB / 0.5584 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.00734, allocations: 0 / 0.5584 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.007647, allocations: 155.8 kB / 0.5585 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.008349, allocations: 425.3 kB / 0.5589 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.008882, allocations: 218.2 kB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.009035, allocations: 84.89 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.009062, allocations: 3.938 kB / 0.5592 GB, free: 12.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.009085, allocations: 30.56 kB / 0.5593 GB, free: 12.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.009086, allocations: 4 kB / 0.5593 GB, free: 12.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000571/0.009657, allocations: 261.3 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.009684, allocations: 51.41 kB / 0.5596 GB, free: 11.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.009778, allocations: 147.1 kB / 0.5597 GB, free: 11.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.009799, allocations: 33.64 kB / 0.5597 GB, free: 11.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.009917, allocations: 112.3 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.009936, allocations: 19.78 kB / 0.5599 GB, free: 11.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.009981, allocations: 29.7 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.01007, allocations: 318.8 kB / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.01023, allocations: 71.91 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.01039, allocations: 98.44 kB / 0.5604 GB, free: 11.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.01069, allocations: 162.7 kB / 0.5605 GB, free: 10.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01069, allocations: 0 / 0.5605 GB, free: 10.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003579/0.01105, allocations: 201.4 kB / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01107, allocations: 9.812 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01107, allocations: 4 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.01108, allocations: 3.984 kB / 0.5607 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.01123, allocations: 47.95 kB / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01123, allocations: 0 / 0.5608 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.867e-05/0.01132, allocations: 19.97 kB / 0.5608 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.01133, allocations: 4 kB / 0.5608 GB, free: 10.63 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 8.015e-05/0.01141, allocations: 121.8 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.01144, allocations: 15.89 kB / 0.5609 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.01184, allocations: 210.2 kB / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01185, allocations: 0 / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.01185, allocations: 0 / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.01185, allocations: 0 / 0.5611 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.01204, allocations: 189.5 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.01204, allocations: 7.984 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.01214, allocations: 31.95 kB / 0.5613 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01214, allocations: 3.938 kB / 0.5614 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01215, allocations: 4 kB / 0.5614 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01216, allocations: 0 / 0.5614 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01216, allocations: 0 / 0.5614 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.01266, allocations: 287.5 kB / 0.5616 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.01267, allocations: 7.953 kB / 0.5616 GB, free: 9.699 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.01269, allocations: 11.88 kB / 0.5616 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.01282, allocations: 27.95 kB / 0.5617 GB, free: 9.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.01286, allocations: 15.86 kB / 0.5617 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.01287, allocations: 7.984 kB / 0.5617 GB, free: 9.637 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.028e-05/0.01293, allocations: 111.4 kB / 0.5618 GB, free: 9.531 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01293, allocations: 4 kB / 0.5618 GB, free: 9.527 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.01311, allocations: 23.95 kB / 0.5618 GB, free: 9.504 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.0005663/0.01368, allocations: 0.8138 MB / 0.5626 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.01404, allocations: 167.8 kB / 0.5628 GB, free: 8.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01404, allocations: 0 / 0.5628 GB, free: 8.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.01419, allocations: 79.98 kB / 0.5629 GB, free: 8.418 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.01442, allocations: 16.09 kB / 0.5629 GB, free: 8.402 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.01628, allocations: 1.847 MB / 0.5647 GB, free: 6.465 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.582e-05/0.01635, allocations: 93.31 kB / 0.5648 GB, free: 6.352 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.557e-05/0.01641, allocations: 12 kB / 0.5648 GB, free: 6.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/0.01648, allocations: 36.47 kB / 0.5648 GB, free: 6.305 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01648, allocations: 0 / 0.5648 GB, free: 6.305 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.03946, allocations: 3.581 MB / 0.5683 GB, free: 2.891 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/6.998, allocations: 14.84 kB / 0.5683 GB, free: 2.879 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.57580350432545] Failed to read output from testmodel.py, exit status != 0: 7.079353289678693 7.087912896 7.080376548 Calling exit ...