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.005429/0.005429, allocations: 104.1 kB / 15.74 MB, free: 6.047 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.001238/0.001238, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 292.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9017/0.9017, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 99.84 kB / 0.681 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4305, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002378/0.4329, allocations: 1.426 MB / 0.7673 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004027/0.4333, allocations: 196.2 kB / 0.7675 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.4334, allocations: 0 / 0.7675 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.4334, allocations: 4 kB / 0.7675 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.312e-05/0.4334, allocations: 7.938 kB / 0.7675 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.4337, allocations: 31.91 kB / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.4338, allocations: 27.91 kB / 0.7676 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.569e-05/0.4339, allocations: 4 kB / 0.7676 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.4339, allocations: 11.98 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.434, allocations: 15.92 kB / 0.7676 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.434, allocations: 0 / 0.7676 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.374e-05/0.4341, allocations: 31.97 kB / 0.7676 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.4341, allocations: 8 kB / 0.7676 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.4341, allocations: 7.938 kB / 0.7676 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.4342, allocations: 54.61 kB / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4342, allocations: 0 / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4342, allocations: 0 / 0.7677 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4343, allocations: 0 / 0.7677 GB, free: 2.055 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.0004334/0.4347, allocations: 347.4 kB / 0.768 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4347, allocations: 8.031 kB / 0.768 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.4348, allocations: 38.75 kB / 0.7681 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.4348, allocations: 4.938 kB / 0.7681 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.4349, allocations: 168.2 kB / 0.7682 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4349, allocations: 8.375 kB / 0.7682 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.435, allocations: 384 / 0.7682 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.4351, allocations: 54.17 kB / 0.7683 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.4352, allocations: 3.938 kB / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.4352, allocations: 0 / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4352, allocations: 0 / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.4353, allocations: 43.89 kB / 0.7683 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.4356, allocations: 245 kB / 0.7686 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4358, allocations: 38.5 kB / 0.7686 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.4359, allocations: 24.91 kB / 0.7686 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.436, allocations: 85.09 kB / 0.7687 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.436, allocations: 34.56 kB / 0.7687 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.436, allocations: 0 / 0.7687 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003571/0.4364, allocations: 77.59 kB / 0.7688 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4364, allocations: 59.39 kB / 0.7689 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.4365, allocations: 97.86 kB / 0.769 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.4365, allocations: 29.83 kB / 0.769 GB, free: 500 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.4366, allocations: 88.14 kB / 0.7691 GB, free: 408 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.4366, allocations: 11.88 kB / 0.7691 GB, free: 396 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.4366, allocations: 9.719 kB / 0.7691 GB, free: 380 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4368, allocations: 318.8 kB / 0.7694 GB, free: 52 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.4368, allocations: 11.98 kB / 0.7694 GB, free: 40 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.665e-05/0.4369, allocations: 23.97 kB / 0.7694 GB, free: 16 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.4371, allocations: 36.83 kB / 0.7695 GB, free: 15.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4371, allocations: 3.938 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.4373, allocations: 69.59 kB / 0.7695 GB, free: 15.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.4373, allocations: 4 kB / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4373, allocations: 0 / 0.7695 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4373, allocations: 8.094 kB / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.4374, allocations: 4 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4374, allocations: 3.984 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.4375, allocations: 7.906 kB / 0.7696 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.4375, allocations: 0 / 0.7696 GB, free: 15.87 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 7.06e-05/0.4376, allocations: 121.7 kB / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.4376, allocations: 0 / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.4378, allocations: 80.7 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4378, allocations: 0 / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4378, allocations: 3.938 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4378, allocations: 0 / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.438, allocations: 161.6 kB / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.438, allocations: 0 / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/0.4381, allocations: 11.98 kB / 0.7699 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.4381, allocations: 3.984 kB / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.4381, allocations: 256 / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4381, allocations: 8.031 kB / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4381, allocations: 0 / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.4383, allocations: 159.5 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.4384, allocations: 85.05 kB / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.4384, allocations: 7.984 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.4385, allocations: 4 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.4385, allocations: 4.031 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4385, allocations: 0 / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.4385, allocations: 83.27 kB / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4385, allocations: 0 / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002227/0.4388, allocations: 19.91 kB / 0.7703 GB, free: 15.04 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.0005132/0.4393, allocations: 0.7007 MB / 0.771 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.4395, allocations: 39.89 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4395, allocations: 0 / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.4396, allocations: 15.98 kB / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.4399, allocations: 12.16 kB / 0.771 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.4403, allocations: 143.2 kB / 0.7712 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4405, allocations: 0.6729 MB / 0.7718 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.4406, allocations: 7.984 kB / 0.7718 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.4406, allocations: 11.44 kB / 0.7719 GB, free: 13.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4406, allocations: 0 / 0.7719 GB, free: 13.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.4589, allocations: 1.471 MB / 0.7733 GB, free: 11.98 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.532, allocations: 6.75 kB / 0.7733 GB, free: 11.98 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)