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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5051/0.5051, allocations: 90.92 MB / 99.35 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009936/0.0009937, allocations: 87.95 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.38e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4887/0.6285, allocations: 101.5 MB / 0.6528 GB, free: 8.461 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.6288, allocations: 77.14 kB / 0.6529 GB, free: 8.418 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004158/0.6329, allocations: 1.414 MB / 0.6542 GB, free: 7.191 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.633, allocations: 0 / 0.6542 GB, free: 7.191 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.633, allocations: 0 / 0.6542 GB, free: 7.191 MB / 458.7 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.0003831/0.6334, allocations: 354.6 kB / 0.6546 GB, free: 6.805 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.6334, allocations: 8.031 kB / 0.6546 GB, free: 6.797 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.6335, allocations: 11.95 kB / 0.6546 GB, free: 6.785 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.6337, allocations: 167 kB / 0.6547 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.6337, allocations: 4 kB / 0.6548 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-06/0.6337, allocations: 0 / 0.6548 GB, free: 6.578 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.936e-05/0.6338, allocations: 10.94 kB / 0.6548 GB, free: 6.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.586e-05/0.6339, allocations: 40.69 kB / 0.6548 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6339, allocations: 0 / 0.6548 GB, free: 6.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6339, allocations: 3.984 kB / 0.6548 GB, free: 6.523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6339, allocations: 3.953 kB / 0.6548 GB, free: 6.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.6343, allocations: 237 kB / 0.655 GB, free: 6.262 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.738e-05/0.6343, allocations: 25.89 kB / 0.6551 GB, free: 6.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.6344, allocations: 14.84 kB / 0.6551 GB, free: 6.219 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006398/0.635, allocations: 465.5 kB / 0.6555 GB, free: 5.672 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6351, allocations: 38.5 kB / 0.6556 GB, free: 5.625 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6351, allocations: 0 / 0.6556 GB, free: 5.625 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.003248/0.6383, allocations: 0.5552 MB / 0.6561 GB, free: 5.094 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.6384, allocations: 51.41 kB / 0.6561 GB, free: 5.031 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.6385, allocations: 100.3 kB / 0.6562 GB, free: 4.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.6385, allocations: 25.7 kB / 0.6563 GB, free: 4.898 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.6386, allocations: 83.39 kB / 0.6563 GB, free: 4.816 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.6386, allocations: 7.938 kB / 0.6564 GB, free: 4.809 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.6386, allocations: 4 kB / 0.6564 GB, free: 4.805 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.6387, allocations: 314 kB / 0.6567 GB, free: 4.492 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.6388, allocations: 4 kB / 0.6567 GB, free: 4.488 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.6388, allocations: 7.547 kB / 0.6567 GB, free: 4.484 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.6418, allocations: 0.5101 MB / 0.6572 GB, free: 4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6418, allocations: 0 / 0.6572 GB, free: 4 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.003056/0.6449, allocations: 0.5511 MB / 0.6577 GB, free: 3.469 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6449, allocations: 4 kB / 0.6577 GB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6449, allocations: 4.562 kB / 0.6577 GB, free: 3.461 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6449, allocations: 3.984 kB / 0.6577 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.049e-05/0.645, allocations: 4 kB / 0.6577 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.645, allocations: 0 / 0.6577 GB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.6451, allocations: 7.953 kB / 0.6577 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.6451, allocations: 0 / 0.6577 GB, free: 3.445 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.6452, allocations: 111.1 kB / 0.6578 GB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003047/0.6482, allocations: 0.5508 MB / 0.6584 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.6482, allocations: 0 / 0.6584 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.6513, allocations: 0.5634 MB / 0.6589 GB, free: 2.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6514, allocations: 7.953 kB / 0.6589 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6514, allocations: 0 / 0.6589 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6514, allocations: 3.984 kB / 0.6589 GB, free: 2.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.6516, allocations: 133.9 kB / 0.6591 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6516, allocations: 32 / 0.6591 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.067e-05/0.6516, allocations: 15.98 kB / 0.6591 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6516, allocations: 0 / 0.6591 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.6516, allocations: 0 / 0.6591 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6517, allocations: 2.312 kB / 0.6591 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6517, allocations: 0 / 0.6591 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.6548, allocations: 0.6456 MB / 0.6597 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.6548, allocations: 77.11 kB / 0.6598 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.6548, allocations: 0 / 0.6598 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.6549, allocations: 4 kB / 0.6598 GB, free: 1.348 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.6549, allocations: 3.625 kB / 0.6598 GB, free: 1.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.655, allocations: 3.984 kB / 0.6598 GB, free: 1.344 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.655, allocations: 91.3 kB / 0.6599 GB, free: 1.254 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.655, allocations: 0 / 0.6599 GB, free: 1.254 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.6553, allocations: 26.58 kB / 0.6599 GB, free: 1.23 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003417/0.6587, allocations: 1.195 MB / 0.6611 GB, free: 36 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.559e-05/0.6588, allocations: 17.88 kB / 0.6611 GB, free: 24 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.6589, allocations: 0 / 0.6611 GB, free: 24 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.6589, allocations: 4 kB / 0.6611 GB, free: 20 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.659, allocations: 3.453 kB / 0.6611 GB, free: 20 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.6594, allocations: 113 kB / 0.6612 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.6597, allocations: 0.6845 MB / 0.6619 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.985e-05/0.6598, allocations: 4 kB / 0.6619 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.6598, allocations: 10.69 kB / 0.6619 GB, free: 15.15 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6598, allocations: 0 / 0.6619 GB, free: 15.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.6787, allocations: 1.044 MB / 0.6629 GB, free: 14.12 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.6789, allocations: 132.2 kB / 0.663 GB, free: 13.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.226, allocations: 0 / 0.663 GB, free: 13.93 MB / 474.7 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/linux/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)