Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001697, allocations: 110.2 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 195.6 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8619/0.8619, allocations: 126.7 MB / 424.6 MB, free: 6.238 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002992/0.002992, allocations: 67.88 kB / 0.5821 GB, free: 12.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4929, allocations: 78.86 MB / 0.6591 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.00353/0.4965, allocations: 1.448 MB / 0.6605 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005649/0.4971, allocations: 144.6 kB / 0.6606 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.4972, allocations: 0 / 0.6606 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.211e-05/0.4973, allocations: 5.688 kB / 0.6606 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.4974, allocations: 5.719 kB / 0.6606 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.4977, allocations: 32.22 kB / 0.6607 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.4979, allocations: 46.73 kB / 0.6607 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.498, allocations: 22.42 kB / 0.6607 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.067e-05/0.4981, allocations: 16.64 kB / 0.6607 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.4982, allocations: 22 kB / 0.6608 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4982, allocations: 7.594 kB / 0.6608 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.4983, allocations: 32.89 kB / 0.6608 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.4983, allocations: 11.56 kB / 0.6608 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.4984, allocations: 21.5 kB / 0.6608 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.4986, allocations: 65.53 kB / 0.6609 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4986, allocations: 0 / 0.6609 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4986, allocations: 0 / 0.6609 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.4986, allocations: 0 / 0.6609 GB, free: 13.45 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005381/0.4992, allocations: 362.5 kB / 0.6612 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.4992, allocations: 9.656 kB / 0.6612 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.4993, allocations: 37.06 kB / 0.6613 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.5008, allocations: 212.6 kB / 0.6615 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.501, allocations: 172.1 kB / 0.6617 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.501, allocations: 2.812 kB / 0.6617 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.501, allocations: 7.031 kB / 0.6617 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.5017, allocations: 195 kB / 0.6618 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.5017, allocations: 9.328 kB / 0.6619 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.5017, allocations: 4 kB / 0.6619 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5018, allocations: 1.312 kB / 0.6619 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009437/0.5027, allocations: 281.8 kB / 0.6621 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.5038, allocations: 435.6 kB / 0.6625 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.5051, allocations: 289.7 kB / 0.6628 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/0.5055, allocations: 105.5 kB / 0.6629 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.5056, allocations: 1.062 kB / 0.6629 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.5056, allocations: 31.41 kB / 0.663 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/0.5056, allocations: 5.156 kB / 0.663 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001325/0.507, allocations: 310.1 kB / 0.6633 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.507, allocations: 52.3 kB / 0.6633 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.5071, allocations: 122.8 kB / 0.6634 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.5071, allocations: 25.7 kB / 0.6634 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.5072, allocations: 99.94 kB / 0.6635 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.5072, allocations: 11.06 kB / 0.6636 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.5073, allocations: 15.53 kB / 0.6636 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.5073, allocations: 321.8 kB / 0.6639 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.5077, allocations: 91.61 kB / 0.664 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.5081, allocations: 96.97 kB / 0.6641 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006883/0.5088, allocations: 168.2 kB / 0.6642 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5088, allocations: 1.25 kB / 0.6642 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007629/0.5096, allocations: 223.6 kB / 0.6644 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.5096, allocations: 7.922 kB / 0.6644 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5096, allocations: 0 / 0.6644 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5096, allocations: 1.5 kB / 0.6644 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.5099, allocations: 36.73 kB / 0.6645 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5099, allocations: 1.375 kB / 0.6645 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.5101, allocations: 26.55 kB / 0.6645 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.5101, allocations: 2.078 kB / 0.6645 GB, free: 11.4 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.163e-05/0.5102, allocations: 120.3 kB / 0.6646 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.5102, allocations: 2.75 kB / 0.6646 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.5103, allocations: 15.97 kB / 0.6646 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5103, allocations: 1.375 kB / 0.6646 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.5103, allocations: 0 / 0.6646 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5103, allocations: 0.9375 kB / 0.6646 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.5105, allocations: 216.5 kB / 0.6648 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5105, allocations: 0 / 0.6648 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.5108, allocations: 33.59 kB / 0.6649 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5108, allocations: 336 / 0.6649 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5108, allocations: 2.547 kB / 0.6649 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5108, allocations: 4 kB / 0.6649 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5108, allocations: 9.25 kB / 0.6649 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.5116, allocations: 311 kB / 0.6652 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.5117, allocations: 87.47 kB / 0.6653 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.5117, allocations: 2.125 kB / 0.6653 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.5119, allocations: 26.03 kB / 0.6653 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.512, allocations: 8.016 kB / 0.6653 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.512, allocations: 5.125 kB / 0.6653 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.512, allocations: 98.11 kB / 0.6654 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.512, allocations: 0 / 0.6654 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002526/0.5123, allocations: 16.31 kB / 0.6654 GB, free: 10.68 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.001018/0.5133, allocations: 0.84 MB / 0.6662 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008095/0.5141, allocations: 196.8 kB / 0.6664 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5141, allocations: 0 / 0.6664 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.5145, allocations: 103.1 kB / 0.6665 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.5148, allocations: 11.67 kB / 0.6665 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.5182, allocations: 1.844 MB / 0.6683 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.5183, allocations: 0.687 MB / 0.669 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.588e-05/0.5184, allocations: 20.77 kB / 0.669 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.5185, allocations: 16.88 kB / 0.669 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5185, allocations: 0 / 0.669 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02796/0.5464, allocations: 1.946 MB / 0.6709 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.416, allocations: 7.078 kB / 0.6709 GB, free: 7.09 MB / 0.4981 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.988857414922677] Failed to read output from testmodel.py, exit status != 0: 8.482724561938085 8.493279195 7.992369591 Calling exit ...