Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004245/0.004249, allocations: 101 kB / 15.73 MB, free: 6.039 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.001012/0.001012, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.288/1.288, 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.002033/0.002034, allocations: 295.7 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.9434/0.9434, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 95.86 kB / 0.6815 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4079, allocations: 86.98 MB / 0.7664 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001836/0.4098, allocations: 0.6054 MB / 0.767 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.4119, allocations: 1.435 MB / 0.7684 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.4119, allocations: 4 kB / 0.7684 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.412, allocations: 7.875 kB / 0.7684 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-05/0.4121, allocations: 4 kB / 0.7684 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008057/0.4129, allocations: 207.5 kB / 0.7686 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.116e-05/0.413, allocations: 43.89 kB / 0.7687 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.413, allocations: 4 kB / 0.7687 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.413, allocations: 8 kB / 0.7687 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.4131, allocations: 23.91 kB / 0.7687 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.4131, allocations: 0 / 0.7687 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.4135, allocations: 263.6 kB / 0.769 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.4136, allocations: 5.797 kB / 0.769 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.537e-05/0.4136, allocations: 15.88 kB / 0.769 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.414, allocations: 219.5 kB / 0.7692 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.414, allocations: 0 / 0.7692 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4141, allocations: 0 / 0.7692 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.4141, allocations: 0 / 0.7692 GB, free: 1.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004634/0.4145, allocations: 404.7 kB / 0.7696 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4146, allocations: 8.031 kB / 0.7696 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.4146, allocations: 8.922 kB / 0.7696 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4148, allocations: 178.8 kB / 0.7698 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.4148, allocations: 384 / 0.7698 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.4148, allocations: 4.375 kB / 0.7698 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.415, allocations: 73.97 kB / 0.7698 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.415, allocations: 3.984 kB / 0.7698 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4151, allocations: 0 / 0.7698 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4151, allocations: 4 kB / 0.7699 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.4151, allocations: 35.97 kB / 0.7699 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002237/0.4154, allocations: 165.6 kB / 0.77 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.4155, allocations: 66.5 kB / 0.7701 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.4156, allocations: 48.86 kB / 0.7702 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.4156, allocations: 0 / 0.7702 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.4156, allocations: 34.5 kB / 0.7702 GB, free: 15.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4157, allocations: 4 kB / 0.7702 GB, free: 15.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003139/0.416, allocations: 187.4 kB / 0.7704 GB, free: 15.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.416, allocations: 85.09 kB / 0.7705 GB, free: 15.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.4161, allocations: 121.8 kB / 0.7706 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4162, allocations: 25.7 kB / 0.7706 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.4162, allocations: 88.14 kB / 0.7707 GB, free: 15.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.4162, allocations: 19.7 kB / 0.7707 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.4163, allocations: 17.72 kB / 0.7707 GB, free: 15.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4164, allocations: 322.8 kB / 0.771 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.4165, allocations: 31.98 kB / 0.7711 GB, free: 14.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.4165, allocations: 39.91 kB / 0.7711 GB, free: 14.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.4166, allocations: 148.9 kB / 0.7712 GB, free: 14.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4167, allocations: 0 / 0.7712 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001729/0.4168, allocations: 151.3 kB / 0.7714 GB, free: 14.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.4169, allocations: 41.62 kB / 0.7714 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4169, allocations: 3.938 kB / 0.7714 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4169, allocations: 0 / 0.7714 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.4169, allocations: 0 / 0.7714 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4169, allocations: 0 / 0.7714 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.417, allocations: 19.83 kB / 0.7714 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.4171, allocations: 4 kB / 0.7714 GB, free: 14.46 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.923e-05/0.4172, allocations: 151.6 kB / 0.7716 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.4172, allocations: 7.938 kB / 0.7716 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.4172, allocations: 8.375 kB / 0.7716 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.4172, allocations: 0 / 0.7716 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4172, allocations: 0 / 0.7716 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4172, allocations: 0 / 0.7716 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.4173, allocations: 169.5 kB / 0.7718 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4174, allocations: 0 / 0.7718 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-07/0.4174, allocations: 0 / 0.7718 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4174, allocations: 7.938 kB / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4174, allocations: 4 kB / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4174, allocations: 4 kB / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4174, allocations: 0 / 0.7718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.4176, allocations: 202.7 kB / 0.772 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.4177, allocations: 84.95 kB / 0.7721 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4177, allocations: 7.984 kB / 0.7721 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-05/0.4178, allocations: 4 kB / 0.7721 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.4178, allocations: 8.031 kB / 0.7721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4178, allocations: 11.98 kB / 0.7721 GB, free: 13.69 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.4178, allocations: 87.28 kB / 0.7722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4179, allocations: 0 / 0.7722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003145/0.4182, allocations: 67.98 kB / 0.7722 GB, free: 13.54 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002947/0.4185, allocations: 171.1 kB / 0.7724 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.4187, allocations: 191.3 kB / 0.7726 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4187, allocations: 0 / 0.7726 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.4189, allocations: 155.4 kB / 0.7727 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.419, allocations: 5.125 kB / 0.7727 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.4193, allocations: 165 kB / 0.7729 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.4196, allocations: 0.6846 MB / 0.7736 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.759e-06/0.4196, allocations: 0 / 0.7736 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-06/0.4196, allocations: 11.38 kB / 0.7736 GB, free: 12.09 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.4196, allocations: 0 / 0.7736 GB, free: 12.09 MB / 0.545 GB Notification: Performance of Templates: time 0.004412/0.424, allocations: 2.051 MB / 0.7756 GB, free: 10.05 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)