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: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007496/0.007497, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001597/0.001597, allocations: 191.8 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 282.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9329/0.9329, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 95.86 kB / 0.6814 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4466, allocations: 86.98 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002258/0.4489, allocations: 1.429 MB / 0.7678 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.4493, allocations: 200.2 kB / 0.768 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.4493, allocations: 0 / 0.768 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.4494, allocations: 0 / 0.768 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.4494, allocations: 3.938 kB / 0.768 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.4497, allocations: 39.89 kB / 0.768 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.4497, allocations: 23.92 kB / 0.768 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.022e-05/0.4498, allocations: 8 kB / 0.7681 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.4499, allocations: 11.98 kB / 0.7681 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.4499, allocations: 7.938 kB / 0.7681 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.4499, allocations: 0 / 0.7681 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.45, allocations: 39.94 kB / 0.7681 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.45, allocations: 8 kB / 0.7681 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.4501, allocations: 7.938 kB / 0.7681 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.4502, allocations: 47.66 kB / 0.7682 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4502, allocations: 0 / 0.7682 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4502, allocations: 0 / 0.7682 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.4502, allocations: 3.938 kB / 0.7682 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.0004333/0.4507, allocations: 349.2 kB / 0.7685 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.4507, allocations: 8.031 kB / 0.7685 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.4507, allocations: 4.938 kB / 0.7685 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.4508, allocations: 164.3 kB / 0.7687 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.4509, allocations: 384 / 0.7687 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.4509, allocations: 4.375 kB / 0.7687 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.451, allocations: 54.11 kB / 0.7687 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.451, allocations: 8.188 kB / 0.7687 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4511, allocations: 7.938 kB / 0.7687 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4511, allocations: 0 / 0.7687 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.4512, allocations: 35.95 kB / 0.7688 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.4515, allocations: 245 kB / 0.769 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4517, allocations: 50.42 kB / 0.7691 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.4518, allocations: 16.91 kB / 0.7691 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.267e-05/0.4518, allocations: 81.11 kB / 0.7692 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4519, allocations: 34.56 kB / 0.7692 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4519, allocations: 0 / 0.7692 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003301/0.4522, allocations: 81.73 kB / 0.7693 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.4523, allocations: 51.41 kB / 0.7693 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.4523, allocations: 105.8 kB / 0.7694 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4524, allocations: 29.64 kB / 0.7694 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.4524, allocations: 88.09 kB / 0.7695 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.4524, allocations: 7.938 kB / 0.7695 GB, free: 452 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.4525, allocations: 13.7 kB / 0.7695 GB, free: 432 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4526, allocations: 314.8 kB / 0.7698 GB, free: 108 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.4527, allocations: 20.02 kB / 0.7699 GB, free: 88 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.4528, allocations: 15.98 kB / 0.7699 GB, free: 72 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.4529, allocations: 40.81 kB / 0.7699 GB, free: 28 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4529, allocations: 0 / 0.7699 GB, free: 28 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002/0.4531, allocations: 73.83 kB / 0.77 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4531, allocations: 4 kB / 0.77 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.4532, allocations: 3.984 kB / 0.77 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4532, allocations: 0 / 0.77 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.131e-05/0.4533, allocations: 11.94 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.4533, allocations: 0 / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.4533, allocations: 11.98 kB / 0.77 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.4533, allocations: 0 / 0.77 GB, free: 15.91 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 6.187e-05/0.4534, allocations: 112.3 kB / 0.7701 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.4534, allocations: 7.938 kB / 0.7701 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.4536, allocations: 68.78 kB / 0.7702 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4537, allocations: 7.984 kB / 0.7702 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4537, allocations: 7.875 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4537, allocations: 0 / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.4538, allocations: 157.6 kB / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4538, allocations: 0 / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.4539, allocations: 16.02 kB / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4539, allocations: 0 / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.4539, allocations: 3.938 kB / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4539, allocations: 256 / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4539, allocations: 0 / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4541, allocations: 175.4 kB / 0.7706 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.4542, allocations: 81.11 kB / 0.7706 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.4542, allocations: 4 kB / 0.7706 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.4543, allocations: 3.984 kB / 0.7706 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.4543, allocations: 4 kB / 0.7706 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.4543, allocations: 0 / 0.7706 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.4544, allocations: 87.27 kB / 0.7707 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4544, allocations: 0 / 0.7707 GB, free: 15.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000235/0.4546, allocations: 8 kB / 0.7707 GB, free: 15.09 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.0001392/0.4548, allocations: 111.2 kB / 0.7708 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.455, allocations: 43.89 kB / 0.7709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.455, allocations: 0 / 0.7709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.389e-05/0.4551, allocations: 19.98 kB / 0.7709 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.4553, allocations: 6.688 kB / 0.7709 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.4556, allocations: 105.7 kB / 0.771 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.4558, allocations: 0.6768 MB / 0.7717 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.4558, allocations: 4 kB / 0.7717 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.4558, allocations: 7.438 kB / 0.7717 GB, free: 14.05 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.4558, allocations: 0 / 0.7717 GB, free: 14.05 MB / 0.545 GB Notification: Performance of Templates: time 0.002409/0.4582, allocations: 0.5907 MB / 0.7723 GB, free: 13.47 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)