Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 109.5 kB / 16.41 MB, free: 6.512 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.001335/0.001335, allocations: 188 kB / 17.34 MB, free: 5.738 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.413/1.413, allocations: 222.9 MB / 241 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.002497/0.002497, allocations: 284.9 kB / 291.5 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.9922/0.9922, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002855, allocations: 96.23 kB / 0.6822 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4137, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001586/0.4153, allocations: 0.5824 MB / 0.7677 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002482/0.4155, allocations: 39.81 kB / 0.7677 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.232e-05/0.4155, allocations: 0 / 0.7677 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.4156, allocations: 3.938 kB / 0.7677 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-06/0.4156, allocations: 0 / 0.7677 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.4159, allocations: 11.98 kB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.4159, allocations: 0 / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.416, allocations: 0 / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.401e-05/0.416, allocations: 4 kB / 0.7677 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.416, allocations: 0 / 0.7677 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.416, allocations: 4 kB / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.4161, allocations: 23.92 kB / 0.7678 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.4161, allocations: 0 / 0.7678 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.4162, allocations: 11.92 kB / 0.7678 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.4163, allocations: 15.97 kB / 0.7678 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4163, allocations: 0 / 0.7678 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4163, allocations: 0 / 0.7678 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.4163, allocations: 0 / 0.7678 GB, free: 3.246 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004149/0.4167, allocations: 315.4 kB / 0.7681 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4168, allocations: 12.02 kB / 0.7681 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.4168, allocations: 8.938 kB / 0.7681 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4169, allocations: 160.4 kB / 0.7683 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.4169, allocations: 384 / 0.7683 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4169, allocations: 384 / 0.7683 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.417, allocations: 26.27 kB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.417, allocations: 4.188 kB / 0.7683 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.417, allocations: 3.938 kB / 0.7683 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.417, allocations: 0 / 0.7683 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.4171, allocations: 3.938 kB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.4172, allocations: 153.7 kB / 0.7684 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.4173, allocations: 18.61 kB / 0.7685 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.4173, allocations: 4.859 kB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.4173, allocations: 4.062 kB / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4173, allocations: 34.55 kB / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.4173, allocations: 0 / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000137/0.4175, allocations: 45.66 kB / 0.7685 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.4175, allocations: 55.44 kB / 0.7686 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.625e-05/0.4176, allocations: 93.86 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4176, allocations: 25.7 kB / 0.7687 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.4176, allocations: 80.14 kB / 0.7688 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.4176, allocations: 3.953 kB / 0.7688 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.4177, allocations: 13.66 kB / 0.7688 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4178, allocations: 314.8 kB / 0.7691 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.4178, allocations: 0 / 0.7691 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-06/0.4178, allocations: 4 kB / 0.7691 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.4179, allocations: 20.78 kB / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4179, allocations: 0 / 0.7691 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.336e-05/0.4179, allocations: 33.64 kB / 0.7692 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4179, allocations: 8 kB / 0.7692 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.4179, allocations: 0 / 0.7692 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.418, allocations: 3.938 kB / 0.7692 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.418, allocations: 0 / 0.7692 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.418, allocations: 8.094 kB / 0.7692 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.418, allocations: 0 / 0.7692 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.418, allocations: 0 / 0.7692 GB, free: 1.594 MB / 0.5294 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): 1 * 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 8.901e-05/0.4181, allocations: 109.8 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-06/0.4181, allocations: 0 / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.4182, allocations: 48.7 kB / 0.7693 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.4182, allocations: 4.031 kB / 0.7693 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4182, allocations: 3.984 kB / 0.7693 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4182, allocations: 0 / 0.7693 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.4184, allocations: 149.7 kB / 0.7695 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4184, allocations: 0 / 0.7695 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.4184, allocations: 0 / 0.7695 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4184, allocations: 0 / 0.7695 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.4184, allocations: 7.938 kB / 0.7695 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4184, allocations: 0 / 0.7695 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4184, allocations: 0 / 0.7695 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.242e-05/0.4185, allocations: 61.12 kB / 0.7695 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.4185, allocations: 81.11 kB / 0.7696 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.4185, allocations: 3.938 kB / 0.7696 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.4186, allocations: 0 / 0.7696 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.4186, allocations: 3.938 kB / 0.7696 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4186, allocations: 3.984 kB / 0.7696 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.4186, allocations: 75.28 kB / 0.7697 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.4186, allocations: 0 / 0.7697 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001874/0.4188, allocations: 14.28 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 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): 1 * 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.0001523/0.4189, allocations: 103.2 kB / 0.7698 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.732e-05/0.419, allocations: 8 kB / 0.7698 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.419, allocations: 0 / 0.7698 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.419, allocations: 4 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.4192, allocations: 0 / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001876/0.4193, allocations: 77.17 kB / 0.7699 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.4197, allocations: 0.6768 MB / 0.7706 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.4197, allocations: 0 / 0.7706 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.4197, allocations: 11.38 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.4197, allocations: 112 / 0.7706 GB, free: 16 MB / 0.545 GB Notification: Performance of Templates: time 0.002377/0.4221, allocations: 298.3 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)