Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside",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.001309/0.001309, allocations: 109.4 kB / 15.99 MB, free: 6.355 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.001192/0.001192, allocations: 194.3 kB / 16.91 MB, free: 6.195 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 13.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7512/0.7512, allocations: 115.3 MB / 406.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.394, allocations: 76.18 MB / 0.556 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003004/0.3971, allocations: 1.49 MB / 0.5575 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.398, allocations: 467.5 kB / 0.5579 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3981, allocations: 2.031 kB / 0.5579 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.3981, allocations: 0.6562 kB / 0.5579 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.94e-05/0.3982, allocations: 6.203 kB / 0.5579 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.3985, allocations: 22.48 kB / 0.5579 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.3986, allocations: 25.11 kB / 0.558 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3987, allocations: 15.12 kB / 0.558 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.12e-05/0.3988, allocations: 9.922 kB / 0.558 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.633e-05/0.3989, allocations: 9.438 kB / 0.558 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.3989, allocations: 3.25 kB / 0.558 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.442e-05/0.399, allocations: 27.58 kB / 0.558 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.399, allocations: 0.6094 kB / 0.558 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.3991, allocations: 12.81 kB / 0.558 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.3992, allocations: 33.62 kB / 0.5581 GB, free: 34.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3992, allocations: 1.938 kB / 0.5581 GB, free: 34.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3992, allocations: 1.188 kB / 0.5581 GB, free: 34.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3992, allocations: 0 / 0.5581 GB, free: 34.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005358/0.3998, allocations: 345.8 kB / 0.5584 GB, free: 33.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.3998, allocations: 10.47 kB / 0.5584 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.3999, allocations: 31.41 kB / 0.5585 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.3999, allocations: 3.25 kB / 0.5585 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.4, allocations: 167.5 kB / 0.5586 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4, allocations: 2.594 kB / 0.5586 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4, allocations: 1.594 kB / 0.5586 GB, free: 33.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.4002, allocations: 58.52 kB / 0.5587 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4003, allocations: 3.891 kB / 0.5587 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.4003, allocations: 0 / 0.5587 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4003, allocations: 1.781 kB / 0.5587 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.4005, allocations: 34.89 kB / 0.5587 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.4008, allocations: 260.9 kB / 0.559 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.4009, allocations: 38.19 kB / 0.559 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.401, allocations: 21.62 kB / 0.559 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.4011, allocations: 87.78 kB / 0.5591 GB, free: 33.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.4011, allocations: 36 kB / 0.5591 GB, free: 33.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4011, allocations: 1.031 kB / 0.5591 GB, free: 33.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000339/0.4015, allocations: 76.58 kB / 0.5592 GB, free: 33.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4015, allocations: 53.94 kB / 0.5593 GB, free: 33.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.4016, allocations: 102.3 kB / 0.5594 GB, free: 32.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4016, allocations: 25.7 kB / 0.5594 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.4016, allocations: 93.28 kB / 0.5595 GB, free: 32.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.4017, allocations: 5.219 kB / 0.5595 GB, free: 32.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.4017, allocations: 12.78 kB / 0.5595 GB, free: 32.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.4018, allocations: 321.2 kB / 0.5598 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.4019, allocations: 13.59 kB / 0.5598 GB, free: 32.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-05/0.4019, allocations: 27.64 kB / 0.5598 GB, free: 32.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.4021, allocations: 37.42 kB / 0.5599 GB, free: 32.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4021, allocations: 4 kB / 0.5599 GB, free: 32.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.4023, allocations: 65.14 kB / 0.5599 GB, free: 32.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4023, allocations: 4.688 kB / 0.5599 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4023, allocations: 2.844 kB / 0.5599 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4023, allocations: 0 / 0.5599 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.752e-05/0.4024, allocations: 9.375 kB / 0.56 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4024, allocations: 1.031 kB / 0.56 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.4025, allocations: 6.688 kB / 0.56 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.4025, allocations: 1.125 kB / 0.56 GB, free: 32.39 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 (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.734e-05/0.4026, allocations: 120.6 kB / 0.5601 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4026, allocations: 6.031 kB / 0.5601 GB, free: 32.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.4029, allocations: 74.25 kB / 0.5602 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4029, allocations: 1.531 kB / 0.5602 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4029, allocations: 0.75 kB / 0.5602 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4029, allocations: 1.062 kB / 0.5602 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.403, allocations: 163 kB / 0.5603 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.403, allocations: 1.094 kB / 0.5603 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.564e-05/0.4031, allocations: 6.719 kB / 0.5603 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4031, allocations: 0 / 0.5603 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4031, allocations: 1 kB / 0.5603 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4031, allocations: 1.578 kB / 0.5603 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4031, allocations: 1.281 kB / 0.5603 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.4034, allocations: 169.6 kB / 0.5605 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.4034, allocations: 79.92 kB / 0.5606 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4035, allocations: 1.125 kB / 0.5606 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.4035, allocations: 11.02 kB / 0.5606 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.4036, allocations: 2.047 kB / 0.5606 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4036, allocations: 1.031 kB / 0.5606 GB, free: 31.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.71e-05/0.4036, allocations: 89.64 kB / 0.5607 GB, free: 31.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4036, allocations: 5.031 kB / 0.5607 GB, free: 31.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.4039, allocations: 7.281 kB / 0.5607 GB, free: 31.7 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 (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.0004681/0.4043, allocations: 0.7068 MB / 0.5614 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.4046, allocations: 36.95 kB / 0.5614 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4046, allocations: 0.9688 kB / 0.5614 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.4047, allocations: 22.81 kB / 0.5614 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.405, allocations: 7.969 kB / 0.5614 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.4054, allocations: 142 kB / 0.5616 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.4055, allocations: 0.678 MB / 0.5622 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.659e-05/0.4055, allocations: 1.281 kB / 0.5622 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.4056, allocations: 15.38 kB / 0.5622 GB, free: 30.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4056, allocations: 1.125 kB / 0.5622 GB, free: 30.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06036/0.466, allocations: 1.256 MB / 0.5635 GB, free: 29.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.4662, allocations: 197.6 kB / 0.5637 GB, free: 29.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/2.111, allocations: 7.953 kB / 0.5637 GB, free: 29.69 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)