Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 101.7 kB / 16.4 MB, free: 6.461 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.001438/0.001438, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.314/1.314, 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.002089/0.002089, allocations: 300 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.909/0.909, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3886, allocations: 86.98 MB / 0.7671 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002194/0.3908, allocations: 1.43 MB / 0.7685 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002521/0.3911, allocations: 88.59 kB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.3911, allocations: 0 / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.399e-05/0.3912, allocations: 11.94 kB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.827e-05/0.3912, allocations: 3.938 kB / 0.7686 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.3914, allocations: 19.92 kB / 0.7686 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.933e-05/0.3915, allocations: 27.91 kB / 0.7686 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.069e-05/0.3916, allocations: 11.98 kB / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.3916, allocations: 0 / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.3917, allocations: 15.92 kB / 0.7686 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3917, allocations: 7.938 kB / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.3918, allocations: 19.98 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.3918, allocations: 8 kB / 0.7687 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.3918, allocations: 15.92 kB / 0.7687 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.719e-05/0.3919, allocations: 35.88 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.392, allocations: 4 kB / 0.7687 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.392, allocations: 0 / 0.7687 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.392, allocations: 0 / 0.7687 GB, free: 2.27 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.0003938/0.3924, allocations: 343.1 kB / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.3924, allocations: 8.031 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.3924, allocations: 8.938 kB / 0.7691 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3925, allocations: 168.3 kB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.3926, allocations: 384 / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.3926, allocations: 4.375 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3927, allocations: 54.17 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3927, allocations: 192 / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.3928, allocations: 7.875 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3928, allocations: 0 / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3929, allocations: 43.95 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.3932, allocations: 255.5 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.3934, allocations: 42.44 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.322e-05/0.3934, allocations: 24.89 kB / 0.7696 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.3935, allocations: 4 kB / 0.7696 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3935, allocations: 38.56 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3935, allocations: 0 / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003212/0.3938, allocations: 81.64 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3939, allocations: 55.41 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.394, allocations: 105.8 kB / 0.7699 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.394, allocations: 33.77 kB / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.394, allocations: 84.14 kB / 0.77 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.394, allocations: 3.906 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.3941, allocations: 13.72 kB / 0.77 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.3942, allocations: 318.8 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.3943, allocations: 15.98 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.3943, allocations: 15.98 kB / 0.7704 GB, free: 372 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3945, allocations: 52.81 kB / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3945, allocations: 0 / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.3947, allocations: 77.5 kB / 0.7705 GB, free: 232 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3947, allocations: 4 kB / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3947, allocations: 0 / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3948, allocations: 4.031 kB / 0.7705 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.95e-05/0.3948, allocations: 15.92 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.3948, allocations: 0 / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.3949, allocations: 4 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.3949, allocations: 0 / 0.7705 GB, free: 204 kB / 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 (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.268e-05/0.395, allocations: 124.2 kB / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.395, allocations: 0 / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3952, allocations: 73.25 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3952, allocations: 4 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3952, allocations: 0 / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3953, allocations: 0 / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3954, allocations: 169.5 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3954, allocations: 3.938 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.3955, allocations: 8.234 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3955, allocations: 0 / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3955, allocations: 7.938 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3955, allocations: 4 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3955, allocations: 4.031 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3957, allocations: 167.4 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3958, allocations: 81.11 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.3958, allocations: 0 / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.242e-05/0.3959, allocations: 7.984 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3959, allocations: 8.016 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3959, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.3959, allocations: 91.27 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3959, allocations: 0 / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002201/0.3962, allocations: 8 kB / 0.7712 GB, free: 15.36 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.0001136/0.3963, allocations: 103.2 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.3965, allocations: 47.89 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3965, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.3966, allocations: 23.98 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3968, allocations: 11.86 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.3971, allocations: 135.3 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3973, allocations: 0.6807 MB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.3973, allocations: 7.562 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.3973, allocations: 7.938 kB / 0.7722 GB, free: 14.28 MB / 0.545 GB Notification: Performance of Templates: time 0.001858/0.3992, allocations: 0.6659 MB / 0.7729 GB, free: 13.61 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)