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.001807/0.001807, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002562/0.002562, allocations: 178.3 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.667/2.667, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.138/1.138, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005776/0.0005778, allocations: 8.812 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2671, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003642/0.2708, allocations: 1.157 MB / 0.5579 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.2724, allocations: 0.5157 MB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.2725, allocations: 0 / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.2726, allocations: 0 / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.2727, allocations: 11.91 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.273, allocations: 31.91 kB / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.468e-05/0.2731, allocations: 19.97 kB / 0.5584 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2733, allocations: 4 kB / 0.5584 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2734, allocations: 19.92 kB / 0.5584 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.2735, allocations: 11.94 kB / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2735, allocations: 0 / 0.5585 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.2737, allocations: 47.88 kB / 0.5585 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.2737, allocations: 7.938 kB / 0.5585 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.2738, allocations: 33.64 kB / 0.5585 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.274, allocations: 43.92 kB / 0.5586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.274, allocations: 0 / 0.5586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.274, allocations: 0 / 0.5586 GB, free: 9.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.274, allocations: 0 / 0.5586 GB, free: 9.781 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.0007309/0.2747, allocations: 347.5 kB / 0.5589 GB, free: 9.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.696e-05/0.2748, allocations: 8.031 kB / 0.5589 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.541e-05/0.2749, allocations: 34.55 kB / 0.5589 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.2749, allocations: 4 kB / 0.559 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.2752, allocations: 170.9 kB / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2752, allocations: 0 / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.2752, allocations: 4 kB / 0.5591 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.2754, allocations: 45.64 kB / 0.5592 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2755, allocations: 4 kB / 0.5592 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.2755, allocations: 0 / 0.5592 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2755, allocations: 4 kB / 0.5592 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.2758, allocations: 27.91 kB / 0.5592 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.2765, allocations: 249 kB / 0.5594 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.2767, allocations: 42.52 kB / 0.5595 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.2779, allocations: 0.4897 MB / 0.56 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.564e-05/0.278, allocations: 30.56 kB / 0.56 GB, free: 8.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.278, allocations: 0 / 0.56 GB, free: 8.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003782/0.2784, allocations: 73.62 kB / 0.5601 GB, free: 8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/0.2785, allocations: 55.39 kB / 0.5601 GB, free: 7.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.2787, allocations: 109.8 kB / 0.5602 GB, free: 7.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2787, allocations: 29.69 kB / 0.5602 GB, free: 7.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.2788, allocations: 88.05 kB / 0.5603 GB, free: 7.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2789, allocations: 0 / 0.5603 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.2789, allocations: 0 / 0.5603 GB, free: 7.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.2791, allocations: 323 kB / 0.5606 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.84e-05/0.2792, allocations: 11.98 kB / 0.5606 GB, free: 7.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.2792, allocations: 12 kB / 0.5607 GB, free: 7.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.2793, allocations: 11.98 kB / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2793, allocations: 0 / 0.5607 GB, free: 7.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/0.2796, allocations: 69.55 kB / 0.5607 GB, free: 7.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.2796, allocations: 4 kB / 0.5607 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2796, allocations: 0 / 0.5607 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.2797, allocations: 0 / 0.5607 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2798, allocations: 11.98 kB / 0.5607 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.2798, allocations: 0 / 0.5607 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.2799, allocations: 4 kB / 0.5608 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2799, allocations: 7.938 kB / 0.5608 GB, free: 7.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001718/0.2801, allocations: 109.9 kB / 0.5609 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.2802, allocations: 7.953 kB / 0.5609 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.2805, allocations: 69.14 kB / 0.5609 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.2805, allocations: 0 / 0.5609 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2806, allocations: 0 / 0.5609 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2806, allocations: 0 / 0.5609 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.2809, allocations: 165.7 kB / 0.5611 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.281, allocations: 0 / 0.5611 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.281, allocations: 7.984 kB / 0.5611 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2811, allocations: 0 / 0.5611 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2811, allocations: 3.953 kB / 0.5611 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2811, allocations: 0 / 0.5611 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2811, allocations: 0 / 0.5611 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.2814, allocations: 163.5 kB / 0.5613 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.721e-05/0.2815, allocations: 77.11 kB / 0.5613 GB, free: 6.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.2815, allocations: 3.984 kB / 0.5613 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.2816, allocations: 15.89 kB / 0.5614 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.2817, allocations: 0 / 0.5614 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.2817, allocations: 7.938 kB / 0.5614 GB, free: 6.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2818, allocations: 87.27 kB / 0.5614 GB, free: 6.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2818, allocations: 0 / 0.5614 GB, free: 6.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004611/0.2823, allocations: 20.03 kB / 0.5615 GB, free: 6.406 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 (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.0008979/0.2832, allocations: 0.6974 MB / 0.5621 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.2834, allocations: 39.94 kB / 0.5622 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2835, allocations: 0 / 0.5622 GB, free: 5.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/0.2836, allocations: 12 kB / 0.5622 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2838, allocations: 7.953 kB / 0.5622 GB, free: 5.625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.2847, allocations: 170.3 kB / 0.5624 GB, free: 5.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.2852, allocations: 0.6809 MB / 0.563 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.774e-05/0.2853, allocations: 3.984 kB / 0.563 GB, free: 4.707 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.2853, allocations: 11.44 kB / 0.563 GB, free: 4.695 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2853, allocations: 0 / 0.563 GB, free: 4.695 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.3062, allocations: 1.367 MB / 0.5644 GB, free: 3.453 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/0.3066, allocations: 171.2 kB / 0.5645 GB, free: 3.211 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/3.194, allocations: 0 / 0.5645 GB, free: 3.211 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/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) Environment - environmentSimulation: