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.005349/0.005349, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001222/0.001221, allocations: 195.8 kB / 16.79 MB, free: 6.246 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.251/1.251, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.685/0.685, allocations: 115.3 MB / 406 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 76.97 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 76.17 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002716/0.1337, allocations: 1.519 MB / 0.5573 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008223/0.1345, allocations: 0.5619 MB / 0.5579 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.1345, allocations: 4 kB / 0.5579 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.1346, allocations: 0 / 0.5579 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.1346, allocations: 7.938 kB / 0.5579 GB, free: 8.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1348, allocations: 35.95 kB / 0.5579 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.306e-05/0.1349, allocations: 27.81 kB / 0.5579 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.852e-05/0.135, allocations: 7.984 kB / 0.558 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.1351, allocations: 15.98 kB / 0.558 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.1351, allocations: 11.92 kB / 0.558 GB, free: 8.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1351, allocations: 4 kB / 0.558 GB, free: 8.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1353, allocations: 51.95 kB / 0.558 GB, free: 8.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.1353, allocations: 3.938 kB / 0.558 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.1353, allocations: 15.92 kB / 0.5581 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1354, allocations: 59.86 kB / 0.5581 GB, free: 8.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1354, allocations: 0 / 0.5581 GB, free: 8.398 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1354, allocations: 0 / 0.5581 GB, free: 8.398 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1354, allocations: 0 / 0.5581 GB, free: 8.398 MB / 430.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.0003975/0.1358, allocations: 353.6 kB / 0.5584 GB, free: 8.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1359, allocations: 16.03 kB / 0.5585 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.1359, allocations: 30.75 kB / 0.5585 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.136, allocations: 4.844 kB / 0.5585 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1361, allocations: 176.2 kB / 0.5587 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1361, allocations: 4.312 kB / 0.5587 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.1361, allocations: 384 / 0.5587 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.1362, allocations: 45.81 kB / 0.5587 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.1363, allocations: 4 kB / 0.5587 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1363, allocations: 0 / 0.5587 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1363, allocations: 3.938 kB / 0.5587 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.568e-05/0.1364, allocations: 23.98 kB / 0.5587 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003066/0.1367, allocations: 256.9 kB / 0.559 GB, free: 7.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.504e-05/0.1368, allocations: 38.5 kB / 0.559 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.1368, allocations: 8.922 kB / 0.559 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/0.1376, allocations: 481.4 kB / 0.5595 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1377, allocations: 34.5 kB / 0.5595 GB, free: 6.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.1377, allocations: 0 / 0.5595 GB, free: 6.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002393/0.1379, allocations: 65.77 kB / 0.5596 GB, free: 6.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.138, allocations: 59.34 kB / 0.5596 GB, free: 6.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.1381, allocations: 105.8 kB / 0.5597 GB, free: 6.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1381, allocations: 25.7 kB / 0.5598 GB, free: 6.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.1381, allocations: 88.14 kB / 0.5599 GB, free: 6.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.1382, allocations: 3.906 kB / 0.5599 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.1382, allocations: 13.72 kB / 0.5599 GB, free: 6.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1383, allocations: 322.8 kB / 0.5602 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.1384, allocations: 8.031 kB / 0.5602 GB, free: 5.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.1384, allocations: 15.98 kB / 0.5602 GB, free: 5.941 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.1385, allocations: 24.84 kB / 0.5602 GB, free: 5.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1385, allocations: 0 / 0.5602 GB, free: 5.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001182/0.1386, allocations: 57.53 kB / 0.5603 GB, free: 5.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1386, allocations: 8 kB / 0.5603 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1386, allocations: 8.094 kB / 0.5603 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1387, allocations: 0 / 0.5603 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.002e-05/0.1387, allocations: 7.984 kB / 0.5603 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1387, allocations: 0 / 0.5603 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.1388, allocations: 0 / 0.5603 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1388, allocations: 4 kB / 0.5603 GB, free: 5.824 MB / 430.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 7.455e-05/0.1389, allocations: 113.8 kB / 0.5604 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1389, allocations: 4 kB / 0.5604 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.1391, allocations: 61.2 kB / 0.5605 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1391, allocations: 3.984 kB / 0.5605 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1391, allocations: 0 / 0.5605 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1391, allocations: 0 / 0.5605 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1392, allocations: 173.6 kB / 0.5606 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1393, allocations: 0 / 0.5606 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.1393, allocations: 11.92 kB / 0.5607 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1393, allocations: 0 / 0.5607 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1393, allocations: 0 / 0.5607 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1393, allocations: 0 / 0.5607 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1393, allocations: 4.031 kB / 0.5607 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.1395, allocations: 151.4 kB / 0.5608 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.1395, allocations: 88.97 kB / 0.5609 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1395, allocations: 4 kB / 0.5609 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.1396, allocations: 4 kB / 0.5609 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.1396, allocations: 0 / 0.5609 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1396, allocations: 0 / 0.5609 GB, free: 5.117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.1397, allocations: 99.59 kB / 0.561 GB, free: 5.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1397, allocations: 0 / 0.561 GB, free: 5.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1399, allocations: 16 kB / 0.561 GB, free: 5.004 MB / 430.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.0004268/0.1404, allocations: 0.6889 MB / 0.5617 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.1405, allocations: 32 kB / 0.5617 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1405, allocations: 0 / 0.5617 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.1405, allocations: 11.94 kB / 0.5617 GB, free: 4.246 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.1407, allocations: 4 kB / 0.5617 GB, free: 4.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.1411, allocations: 182 kB / 0.5619 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1414, allocations: 0.677 MB / 0.5626 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.321e-05/0.1414, allocations: 4 kB / 0.5626 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.1414, allocations: 11.44 kB / 0.5626 GB, free: 3.309 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1414, allocations: 0 / 0.5626 GB, free: 3.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1647/0.3061, allocations: 1.439 MB / 0.564 GB, free: 1.957 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/0.3064, allocations: 187.7 kB / 0.5642 GB, free: 1.707 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/2.711, allocations: 4.062 kB / 0.5642 GB, free: 1.703 MB / 430.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)