Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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.00804/0.00804, allocations: 99.41 kB / 15.73 MB, free: 6.004 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.002158/0.002158, allocations: 191.7 kB / 16.67 MB, free: 5.93 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002536, allocations: 282.4 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 99.84 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.447, allocations: 86.97 MB / 0.7659 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002798/0.4499, allocations: 1.433 MB / 0.7673 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004777/0.4504, allocations: 200.2 kB / 0.7675 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.751e-05/0.4504, allocations: 0 / 0.7675 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.4504, allocations: 7.938 kB / 0.7675 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.4505, allocations: 3.938 kB / 0.7675 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.4508, allocations: 39.89 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.4509, allocations: 19.98 kB / 0.7676 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.451, allocations: 4 kB / 0.7676 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.451, allocations: 19.86 kB / 0.7676 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.4511, allocations: 7.984 kB / 0.7676 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.4511, allocations: 4 kB / 0.7676 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-05/0.4512, allocations: 35.95 kB / 0.7676 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.4512, allocations: 7.938 kB / 0.7676 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.4513, allocations: 8 kB / 0.7677 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.4514, allocations: 43.67 kB / 0.7677 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4514, allocations: 0 / 0.7677 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.428e-06/0.4514, allocations: 3.984 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4515, allocations: 0 / 0.7677 GB, free: 1.965 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.0005125/0.452, allocations: 344.7 kB / 0.768 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.452, allocations: 8.031 kB / 0.768 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.4521, allocations: 30.75 kB / 0.7681 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.4521, allocations: 8.938 kB / 0.7681 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.4522, allocations: 168.3 kB / 0.7682 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4522, allocations: 4.312 kB / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4523, allocations: 4.375 kB / 0.7682 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.4524, allocations: 46.23 kB / 0.7683 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4525, allocations: 11.88 kB / 0.7683 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.4525, allocations: 0 / 0.7683 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4525, allocations: 0 / 0.7683 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.4527, allocations: 39.89 kB / 0.7683 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.453, allocations: 245 kB / 0.7686 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4532, allocations: 42.48 kB / 0.7686 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.4533, allocations: 24.89 kB / 0.7686 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.917e-05/0.4534, allocations: 81.11 kB / 0.7687 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4534, allocations: 38.5 kB / 0.7687 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4534, allocations: 0 / 0.7687 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.4538, allocations: 81.64 kB / 0.7688 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.4538, allocations: 51.41 kB / 0.7689 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.4539, allocations: 105.8 kB / 0.769 GB, free: 452 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.4539, allocations: 29.83 kB / 0.769 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.454, allocations: 88.03 kB / 0.7691 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.454, allocations: 4 kB / 0.7691 GB, free: 320 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.4541, allocations: 17.7 kB / 0.7691 GB, free: 296 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4542, allocations: 310.8 kB / 0.7694 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.4543, allocations: 19.98 kB / 0.7694 GB, free: 15.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.279e-05/0.4544, allocations: 15.92 kB / 0.7694 GB, free: 15.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.4546, allocations: 48.88 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4546, allocations: 3.938 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.4548, allocations: 65.62 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4548, allocations: 4 kB / 0.7696 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.4548, allocations: 3.984 kB / 0.7696 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4548, allocations: 4.031 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.4549, allocations: 8 kB / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4549, allocations: 0 / 0.7696 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.455, allocations: 7.984 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.455, allocations: 256 / 0.7696 GB, free: 15.79 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 0.000101/0.4551, allocations: 113.7 kB / 0.7697 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.4551, allocations: 4 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.4554, allocations: 76.72 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4554, allocations: 11.98 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4554, allocations: 0 / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.4554, allocations: 0 / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.4556, allocations: 157.6 kB / 0.7699 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4557, allocations: 0 / 0.7699 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.4557, allocations: 11.98 kB / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.4557, allocations: 0 / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.4557, allocations: 0 / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4557, allocations: 0 / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4557, allocations: 4.031 kB / 0.7699 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.456, allocations: 171.3 kB / 0.7701 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.4561, allocations: 77.11 kB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4561, allocations: 7.938 kB / 0.7702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.364e-05/0.4562, allocations: 3.984 kB / 0.7702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.4562, allocations: 12.03 kB / 0.7702 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.4563, allocations: 0 / 0.7702 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.4563, allocations: 83.27 kB / 0.7703 GB, free: 14.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4563, allocations: 0 / 0.7703 GB, free: 14.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003235/0.4566, allocations: 8 kB / 0.7703 GB, free: 14.96 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.0006612/0.4573, allocations: 0.7084 MB / 0.771 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.4575, allocations: 43.95 kB / 0.771 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4575, allocations: 0 / 0.771 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.4576, allocations: 15.98 kB / 0.771 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.458, allocations: 8.156 kB / 0.771 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.4585, allocations: 131.2 kB / 0.7712 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.4589, allocations: 0.6768 MB / 0.7718 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.4589, allocations: 7.938 kB / 0.7718 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.459, allocations: 11.42 kB / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.459, allocations: 0 / 0.7719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.4809, allocations: 1.46 MB / 0.7733 GB, free: 11.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.381, allocations: 13.03 kB / 0.7733 GB, free: 11.91 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)