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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 105.1 kB / 15.98 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 196.8 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7545/0.7545, allocations: 115.3 MB / 406.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4312, allocations: 76.18 MB / 0.556 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002493/0.4338, allocations: 1.513 MB / 0.5575 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.4341, allocations: 141.2 kB / 0.5576 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.4342, allocations: 0.7188 kB / 0.5576 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.745e-05/0.4342, allocations: 0 / 0.5576 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.353e-05/0.4343, allocations: 7.594 kB / 0.5576 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.4346, allocations: 28.17 kB / 0.5577 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.071e-05/0.4347, allocations: 39.19 kB / 0.5577 GB, free: 34.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.4348, allocations: 20.7 kB / 0.5577 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.4349, allocations: 19.16 kB / 0.5577 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.4349, allocations: 21.83 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.4349, allocations: 3.625 kB / 0.5578 GB, free: 34.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.435, allocations: 33.25 kB / 0.5578 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.435, allocations: 13.2 kB / 0.5578 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.4351, allocations: 23.39 kB / 0.5578 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.4352, allocations: 60.34 kB / 0.5579 GB, free: 34.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4352, allocations: 0 / 0.5579 GB, free: 34.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4352, allocations: 4.469 kB / 0.5579 GB, free: 34.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4352, allocations: 0.8438 kB / 0.5579 GB, free: 34.34 MB / 446.1 MB 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.0003746/0.4356, allocations: 363.8 kB / 0.5582 GB, free: 33.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4357, allocations: 9.875 kB / 0.5583 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.4357, allocations: 35.97 kB / 0.5583 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.4367, allocations: 218.2 kB / 0.5585 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.388e-05/0.4368, allocations: 166.2 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4369, allocations: 1.625 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.4369, allocations: 3 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.4374, allocations: 194.1 kB / 0.5588 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4374, allocations: 5.594 kB / 0.5589 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4374, allocations: 0.5625 kB / 0.5589 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4374, allocations: 3.594 kB / 0.5589 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.4382, allocations: 282.9 kB / 0.5591 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.439, allocations: 441.5 kB / 0.5595 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.44, allocations: 295.1 kB / 0.5598 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.4404, allocations: 99.34 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4404, allocations: 1.688 kB / 0.5599 GB, free: 33.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.4404, allocations: 39.27 kB / 0.56 GB, free: 33.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.4405, allocations: 0 / 0.56 GB, free: 33.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001109/0.4416, allocations: 305.1 kB / 0.5603 GB, free: 33.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.4416, allocations: 58.59 kB / 0.5603 GB, free: 33.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.132e-05/0.4417, allocations: 113.1 kB / 0.5604 GB, free: 32.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.4417, allocations: 32.77 kB / 0.5605 GB, free: 32.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.4417, allocations: 90.92 kB / 0.5605 GB, free: 32.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.4418, allocations: 10.89 kB / 0.5605 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.4418, allocations: 20.47 kB / 0.5606 GB, free: 32.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.4419, allocations: 323.3 kB / 0.5609 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.4422, allocations: 92.81 kB / 0.561 GB, free: 32.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.4426, allocations: 96.97 kB / 0.5611 GB, free: 32.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.4432, allocations: 172.8 kB / 0.5612 GB, free: 32.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4432, allocations: 0 / 0.5612 GB, free: 32.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006759/0.4439, allocations: 213.4 kB / 0.5614 GB, free: 32.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4439, allocations: 5.438 kB / 0.5614 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.4439, allocations: 0 / 0.5614 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4439, allocations: 2.094 kB / 0.5614 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.4442, allocations: 38.25 kB / 0.5615 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4442, allocations: 2.266 kB / 0.5615 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.4444, allocations: 35.91 kB / 0.5615 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.4444, allocations: 2.5 kB / 0.5615 GB, free: 32.34 MB / 446.1 MB 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 6.464e-05/0.4445, allocations: 116 kB / 0.5616 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.4445, allocations: 10.91 kB / 0.5616 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.4446, allocations: 12.55 kB / 0.5616 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4446, allocations: 2.438 kB / 0.5616 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4446, allocations: 0 / 0.5616 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4446, allocations: 0.7031 kB / 0.5616 GB, free: 32.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.4448, allocations: 213.1 kB / 0.5618 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4448, allocations: 1.281 kB / 0.5618 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.445, allocations: 38.05 kB / 0.5619 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.445, allocations: 0.5625 kB / 0.5619 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.445, allocations: 3.562 kB / 0.5619 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.445, allocations: 0 / 0.5619 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.445, allocations: 0.6094 kB / 0.5619 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/0.4457, allocations: 321.2 kB / 0.5622 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.4458, allocations: 80.12 kB / 0.5623 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.4458, allocations: 5.5 kB / 0.5623 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.446, allocations: 28.23 kB / 0.5623 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.4461, allocations: 2.5 kB / 0.5623 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4461, allocations: 1.703 kB / 0.5623 GB, free: 31.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.4461, allocations: 94.75 kB / 0.5624 GB, free: 31.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4461, allocations: 0 / 0.5624 GB, free: 31.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.4464, allocations: 20.28 kB / 0.5624 GB, free: 31.63 MB / 446.1 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 (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.0008647/0.4472, allocations: 0.8402 MB / 0.5632 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.4479, allocations: 196 kB / 0.5634 GB, free: 30.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.448, allocations: 0.8125 kB / 0.5634 GB, free: 30.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.4483, allocations: 101.1 kB / 0.5635 GB, free: 30.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.4486, allocations: 3.344 kB / 0.5635 GB, free: 30.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.4515, allocations: 1.846 MB / 0.5653 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4516, allocations: 0.6881 MB / 0.566 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.523e-05/0.4517, allocations: 20.39 kB / 0.566 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.4518, allocations: 21.39 kB / 0.566 GB, free: 28.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4518, allocations: 0 / 0.566 GB, free: 28.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/0.587, allocations: 1.787 MB / 0.5678 GB, free: 28.67 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.5872, allocations: 195 kB / 0.568 GB, free: 28.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.293, allocations: 5.188 kB / 0.568 GB, free: 28.4 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1)