Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.001212/0.001212, allocations: 102.2 kB / 16.4 MB, free: 6.508 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.001272/0.001272, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.737/0.737, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 65.83 kB / 0.5572 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002903/0.137, allocations: 1.448 MB / 0.633 GB, free: 3.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1381, allocations: 0.5696 MB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.1382, allocations: 0 / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.158e-05/0.1382, allocations: 0 / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.1383, allocations: 3.938 kB / 0.6336 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1386, allocations: 51.81 kB / 0.6336 GB, free: 2.789 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.606e-05/0.1387, allocations: 31.86 kB / 0.6336 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1388, allocations: 19.92 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.597e-05/0.1389, allocations: 7.984 kB / 0.6337 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.139, allocations: 11.94 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.139, allocations: 4 kB / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1391, allocations: 51.95 kB / 0.6337 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.1392, allocations: 7.984 kB / 0.6337 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1392, allocations: 19.86 kB / 0.6338 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1393, allocations: 55.86 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1394, allocations: 4 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1394, allocations: 4 kB / 0.6338 GB, free: 2.574 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1394, allocations: 0 / 0.6338 GB, free: 2.574 MB / 478.1 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.0004321/0.1398, allocations: 346.9 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1399, allocations: 12.02 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.1399, allocations: 30.75 kB / 0.6342 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.1399, allocations: 8.844 kB / 0.6342 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1401, allocations: 172.5 kB / 0.6344 GB, free: 1.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1401, allocations: 4.375 kB / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.1401, allocations: 384 / 0.6344 GB, free: 1.922 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1402, allocations: 49.81 kB / 0.6344 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1403, allocations: 0 / 0.6344 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.1403, allocations: 0 / 0.6344 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1403, allocations: 0 / 0.6344 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.1404, allocations: 23.97 kB / 0.6344 GB, free: 1.844 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.1407, allocations: 252.9 kB / 0.6347 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.1408, allocations: 38.5 kB / 0.6347 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.1409, allocations: 12.92 kB / 0.6347 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008162/0.1417, allocations: 477.3 kB / 0.6352 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1418, allocations: 38.56 kB / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1418, allocations: 0 / 0.6352 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002425/0.142, allocations: 65.61 kB / 0.6353 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1421, allocations: 55.34 kB / 0.6353 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.021e-05/0.1421, allocations: 109.8 kB / 0.6354 GB, free: 0.625 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1422, allocations: 25.7 kB / 0.6355 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.1422, allocations: 84.14 kB / 0.6356 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1422, allocations: 8.016 kB / 0.6356 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.1423, allocations: 17.72 kB / 0.6356 GB, free: 488 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.1424, allocations: 318.8 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.1424, allocations: 11.98 kB / 0.6359 GB, free: 148 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.1425, allocations: 8 kB / 0.6359 GB, free: 140 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.1425, allocations: 24.84 kB / 0.6359 GB, free: 112 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1425, allocations: 0 / 0.6359 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001142/0.1427, allocations: 65.59 kB / 0.636 GB, free: 40 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1427, allocations: 7.984 kB / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1427, allocations: 0 / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1427, allocations: 0 / 0.636 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.1428, allocations: 4 kB / 0.636 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1428, allocations: 0 / 0.636 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.1428, allocations: 8 kB / 0.636 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1428, allocations: 0 / 0.636 GB, free: 20 kB / 478.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 (2): * Single equations (assignments): 2 * 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.688e-05/0.1429, allocations: 125.8 kB / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.143, allocations: 0 / 0.6361 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.1431, allocations: 57.2 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1431, allocations: 0 / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1431, allocations: 3.938 kB / 0.6362 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1432, allocations: 4 kB / 0.6362 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1433, allocations: 165.6 kB / 0.6363 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1433, allocations: 0 / 0.6363 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.1434, allocations: 7.984 kB / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1434, allocations: 4.031 kB / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1434, allocations: 4 kB / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1434, allocations: 0 / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1434, allocations: 0 / 0.6364 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.1436, allocations: 159.3 kB / 0.6365 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.1436, allocations: 85.11 kB / 0.6366 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1436, allocations: 0 / 0.6366 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.835e-05/0.1437, allocations: 4.031 kB / 0.6366 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.1437, allocations: 0 / 0.6366 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1437, allocations: 7.984 kB / 0.6366 GB, free: 15.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.331e-05/0.1438, allocations: 87.58 kB / 0.6367 GB, free: 15.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.864e-06/0.1438, allocations: 0 / 0.6367 GB, free: 15.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.144, allocations: 19.94 kB / 0.6367 GB, free: 15.2 MB / 494.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 (2): * Single equations (assignments): 2 * 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.0004647/0.1445, allocations: 0.7045 MB / 0.6374 GB, free: 14.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1447, allocations: 19.98 kB / 0.6374 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1447, allocations: 4 kB / 0.6374 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.1447, allocations: 19.92 kB / 0.6374 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.1449, allocations: 0 / 0.6374 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.1454, allocations: 156.5 kB / 0.6376 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.1456, allocations: 0.6768 MB / 0.6382 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.414e-05/0.1456, allocations: 4 kB / 0.6382 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.1456, allocations: 15.42 kB / 0.6383 GB, free: 13.5 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1456, allocations: 0 / 0.6383 GB, free: 13.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.1619, allocations: 1.615 MB / 0.6398 GB, free: 11.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.645, allocations: 13.08 kB / 0.6399 GB, free: 11.95 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)