Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildingSystems_BuildingSystems_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.006183/0.006183, allocations: 106.5 kB / 15.74 MB, free: 5.582 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.001321/0.001321, allocations: 197.2 kB / 16.67 MB, free: 5.508 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.264/1.264, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 290.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8922/0.8922, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 87.86 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4277, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002683/0.4304, allocations: 1.449 MB / 0.7673 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.4314, allocations: 0.5713 MB / 0.7679 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.4315, allocations: 0 / 0.7679 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.4315, allocations: 3.938 kB / 0.7679 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.4316, allocations: 3.938 kB / 0.7679 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.4319, allocations: 55.83 kB / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.679e-05/0.432, allocations: 23.92 kB / 0.768 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.4321, allocations: 18.78 kB / 0.768 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.4322, allocations: 11.88 kB / 0.768 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.709e-05/0.4322, allocations: 15.92 kB / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.4322, allocations: 0 / 0.768 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.4324, allocations: 55.95 kB / 0.7681 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.4324, allocations: 7.984 kB / 0.7681 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.4324, allocations: 19.88 kB / 0.7681 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.4326, allocations: 63.86 kB / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4326, allocations: 0 / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4326, allocations: 0 / 0.7681 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4326, allocations: 0 / 0.7681 GB, free: 1.551 MB / 0.5294 GB 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.0004441/0.4331, allocations: 351.3 kB / 0.7685 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4331, allocations: 12.03 kB / 0.7685 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.924e-05/0.4331, allocations: 30.75 kB / 0.7685 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.4332, allocations: 0.9375 kB / 0.7685 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.4333, allocations: 176.3 kB / 0.7687 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.4333, allocations: 384 / 0.7687 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.4333, allocations: 8.375 kB / 0.7687 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.4335, allocations: 49.75 kB / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.4335, allocations: 0 / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.4335, allocations: 0 / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4335, allocations: 0 / 0.7687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.4336, allocations: 19.98 kB / 0.7688 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.4339, allocations: 256.9 kB / 0.769 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.994e-05/0.434, allocations: 34.56 kB / 0.769 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.4341, allocations: 12.86 kB / 0.7691 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008034/0.4349, allocations: 485.4 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.4349, allocations: 30.56 kB / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 2.365e-06/0.4349, allocations: 0 / 0.7696 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002333/0.4352, allocations: 69.61 kB / 0.7696 GB, free: 15.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.4352, allocations: 51.41 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.63e-05/0.4353, allocations: 105.8 kB / 0.7698 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4353, allocations: 29.83 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.4354, allocations: 92.08 kB / 0.7699 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4354, allocations: 7.844 kB / 0.7699 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.4354, allocations: 13.72 kB / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4356, allocations: 326.7 kB / 0.7702 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-05/0.4356, allocations: 4 kB / 0.7702 GB, free: 15.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.4357, allocations: 15.98 kB / 0.7702 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.4357, allocations: 28.91 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4358, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001177/0.4359, allocations: 53.59 kB / 0.7703 GB, free: 15.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4359, allocations: 8 kB / 0.7703 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4359, allocations: 0 / 0.7703 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4359, allocations: 0 / 0.7703 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.436, allocations: 7.984 kB / 0.7703 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.436, allocations: 3.938 kB / 0.7703 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.4361, allocations: 8.031 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.4361, allocations: 0 / 0.7703 GB, free: 14.98 MB / 0.545 GB 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.045e-05/0.4362, allocations: 113.8 kB / 0.7704 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.4362, allocations: 4 kB / 0.7705 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.4364, allocations: 61.2 kB / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4364, allocations: 0 / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4364, allocations: 0 / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4364, allocations: 0 / 0.7705 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4365, allocations: 173.6 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4366, allocations: 0 / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.4366, allocations: 4 kB / 0.7707 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4366, allocations: 3.984 kB / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4366, allocations: 0 / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4366, allocations: 0 / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4366, allocations: 3.938 kB / 0.7707 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.4368, allocations: 159.4 kB / 0.7708 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.4368, allocations: 77.11 kB / 0.7709 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4369, allocations: 7.984 kB / 0.7709 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.4369, allocations: 7.938 kB / 0.7709 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.437, allocations: 0 / 0.7709 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.437, allocations: 0 / 0.7709 GB, free: 14.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.437, allocations: 91.58 kB / 0.771 GB, free: 14.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.437, allocations: 0 / 0.771 GB, free: 14.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002369/0.4373, allocations: 12 kB / 0.771 GB, free: 14.18 MB / 0.545 GB 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.0004844/0.4378, allocations: 0.7007 MB / 0.7717 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.4379, allocations: 23.97 kB / 0.7717 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4379, allocations: 3.938 kB / 0.7717 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.438, allocations: 16.09 kB / 0.7718 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.4382, allocations: 4 kB / 0.7718 GB, free: 13.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.4386, allocations: 160.2 kB / 0.7719 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4389, allocations: 0.6768 MB / 0.7726 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.4389, allocations: 8.219 kB / 0.7726 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.4389, allocations: 11.44 kB / 0.7726 GB, free: 12.48 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4389, allocations: 4.062 kB / 0.7726 GB, free: 12.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.4573, allocations: 1.645 MB / 0.7742 GB, free: 10.94 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.497, allocations: 12 kB / 0.7742 GB, free: 10.93 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothLimit.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)