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.001025/0.001025, allocations: 100.2 kB / 16.41 MB, free: 6.008 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.001052/0.001052, allocations: 189.8 kB / 17.34 MB, free: 5.629 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 281.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8801/0.8801, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 100.2 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4261, allocations: 86.98 MB / 0.7671 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002429/0.4285, allocations: 1.426 MB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004042/0.429, allocations: 196.2 kB / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.429, allocations: 0 / 0.7686 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.4291, allocations: 11.86 kB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.4291, allocations: 7.938 kB / 0.7687 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.4294, allocations: 35.91 kB / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.4295, allocations: 19.98 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.4296, allocations: 7.938 kB / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.4296, allocations: 11.98 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.05e-05/0.4297, allocations: 15.92 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.4297, allocations: 0 / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.4298, allocations: 35.97 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.4298, allocations: 3.984 kB / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.4298, allocations: 7.938 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.43, allocations: 43.88 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.43, allocations: 4 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.43, allocations: 0 / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.43, allocations: 0 / 0.7688 GB, free: 2.113 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.0004052/0.4304, allocations: 343.1 kB / 0.7692 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4304, allocations: 8.031 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.4305, allocations: 4.938 kB / 0.7692 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.4306, allocations: 168.3 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.4306, allocations: 4.375 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.4306, allocations: 4.375 kB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.4308, allocations: 54.23 kB / 0.7694 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4308, allocations: 192 / 0.7694 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4308, allocations: 3.938 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4308, allocations: 7.875 kB / 0.7694 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.431, allocations: 31.97 kB / 0.7694 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.4313, allocations: 245 kB / 0.7697 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.4314, allocations: 42.5 kB / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.4315, allocations: 20.91 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.251e-05/0.4316, allocations: 85.09 kB / 0.7698 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.4316, allocations: 34.5 kB / 0.7698 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.4316, allocations: 0 / 0.7698 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003353/0.432, allocations: 89.62 kB / 0.7699 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.432, allocations: 51.41 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.4321, allocations: 102 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.4321, allocations: 29.69 kB / 0.7701 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.4321, allocations: 80.14 kB / 0.7702 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.4322, allocations: 10.44 kB / 0.7702 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.4322, allocations: 17.84 kB / 0.7702 GB, free: 496 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.4323, allocations: 314.8 kB / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.4324, allocations: 19.97 kB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.4324, allocations: 16.05 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4326, allocations: 44.77 kB / 0.7706 GB, free: 88 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4326, allocations: 4 kB / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001763/0.4328, allocations: 73.59 kB / 0.7707 GB, free: 4 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4328, allocations: 4 kB / 0.7707 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.4328, allocations: 0 / 0.7707 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.4328, allocations: 0 / 0.7707 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.4329, allocations: 11.98 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4329, allocations: 0 / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.433, allocations: 8.031 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.433, allocations: 3.984 kB / 0.7707 GB, free: 15.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 6.811e-05/0.4331, allocations: 116.2 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.4331, allocations: 3.906 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.4333, allocations: 76.72 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4333, allocations: 0 / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.4333, allocations: 0 / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4333, allocations: 4.031 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.4335, allocations: 161.6 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4335, allocations: 3.938 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.4336, allocations: 8 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4336, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.4336, allocations: 3.984 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4336, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4336, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.4338, allocations: 171.4 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.4338, allocations: 77.11 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4339, allocations: 4 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.4339, allocations: 4 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.434, allocations: 3.984 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.434, allocations: 0 / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.434, allocations: 87.28 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.434, allocations: 4.031 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002199/0.4343, allocations: 16 kB / 0.7714 GB, free: 15.15 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.0001349/0.4344, allocations: 107.2 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.4346, allocations: 39.97 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4346, allocations: 0 / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.4347, allocations: 23.97 kB / 0.7716 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.435, allocations: 10.75 kB / 0.7716 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.4353, allocations: 147.2 kB / 0.7717 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.4355, allocations: 0.6729 MB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.4355, allocations: 11.44 kB / 0.7724 GB, free: 14.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4355, allocations: 3.938 kB / 0.7724 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002009/0.4375, allocations: 0.6658 MB / 0.773 GB, free: 13.41 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)