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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002595/0.002595, allocations: 238.5 kB / 259.8 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.083/1.083, allocations: 138.4 MB / 454.7 MB, free: 1.465 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5544 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.158e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.0026/0.002622, allocations: 1.444 MB / 0.5558 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002915/0.002913, allocations: 96.58 kB / 0.5559 GB, free: 15.26 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.002936, allocations: 4 kB / 0.5559 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.807e-05/0.002994, allocations: 3.938 kB / 0.5559 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.003028, allocations: 3.938 kB / 0.5559 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.003257, allocations: 15.98 kB / 0.5559 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.003324, allocations: 27.86 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.121e-05/0.003395, allocations: 7.984 kB / 0.5559 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.003433, allocations: 11.98 kB / 0.5559 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.032e-05/0.003474, allocations: 15.92 kB / 0.5559 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.003486, allocations: 0 / 0.5559 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.892e-05/0.003574, allocations: 23.97 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.003606, allocations: 4 kB / 0.556 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.00363, allocations: 8 kB / 0.556 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.003756, allocations: 47.8 kB / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003758, allocations: 0 / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003759, allocations: 0 / 0.556 GB, free: 15.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.003762, allocations: 0 / 0.556 GB, free: 15.09 MB / 490.7 MB 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.0004447/0.004207, allocations: 266.3 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.004238, allocations: 8.75 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.004282, allocations: 16.88 kB / 0.5563 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.004393, allocations: 101.8 kB / 0.5564 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.004405, allocations: 8.375 kB / 0.5564 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-06/0.004412, allocations: 4.312 kB / 0.5564 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.00459, allocations: 50.23 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004597, allocations: 192 / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004605, allocations: 384 / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.004608, allocations: 384 / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.004795, allocations: 43.89 kB / 0.5565 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.005101, allocations: 196.5 kB / 0.5567 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.005249, allocations: 54.53 kB / 0.5567 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.005343, allocations: 20.91 kB / 0.5568 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.005372, allocations: 4 kB / 0.5568 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.005405, allocations: 30.56 kB / 0.5568 GB, free: 14.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005406, allocations: 0 / 0.5568 GB, free: 14.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003859/0.005792, allocations: 101.6 kB / 0.5569 GB, free: 14.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.005841, allocations: 59.34 kB / 0.5569 GB, free: 14.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.005949, allocations: 105.9 kB / 0.557 GB, free: 13.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.005969, allocations: 25.7 kB / 0.5571 GB, free: 13.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.006029, allocations: 88.12 kB / 0.5572 GB, free: 13.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.006046, allocations: 3.953 kB / 0.5572 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.006083, allocations: 13.72 kB / 0.5572 GB, free: 13.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.006255, allocations: 314.8 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.597e-05/0.006351, allocations: 23.91 kB / 0.5575 GB, free: 13.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.006436, allocations: 24.02 kB / 0.5575 GB, free: 13.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.0066, allocations: 36.83 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.006602, allocations: 0 / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000218/0.006819, allocations: 73.66 kB / 0.5576 GB, free: 13.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.006832, allocations: 7.938 kB / 0.5576 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.006838, allocations: 3.938 kB / 0.5576 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.006851, allocations: 4.094 kB / 0.5576 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.006941, allocations: 11.98 kB / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006944, allocations: 0 / 0.5577 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.006998, allocations: 11.97 kB / 0.5577 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.007003, allocations: 0 / 0.5577 GB, free: 13.23 MB / 490.7 MB 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 8.924e-05/0.007092, allocations: 109.8 kB / 0.5578 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.007119, allocations: 3.953 kB / 0.5578 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.007373, allocations: 89.2 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007374, allocations: 0 / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.007377, allocations: 0 / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.007379, allocations: 0 / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.00753, allocations: 109.3 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007531, allocations: 0 / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.007591, allocations: 7.938 kB / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007592, allocations: 0 / 0.558 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.0076, allocations: 4 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.007605, allocations: 3.938 kB / 0.558 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.007608, allocations: 3.984 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.007889, allocations: 167.5 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.007899, allocations: 3.953 kB / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.007911, allocations: 0 / 0.5581 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.00799, allocations: 7.938 kB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.008027, allocations: 7.984 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.00803, allocations: 256 / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.996e-05/0.00809, allocations: 87.28 kB / 0.5582 GB, free: 12.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00809, allocations: 0 / 0.5582 GB, free: 12.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.008319, allocations: 12.03 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB 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.0001383/0.008458, allocations: 111 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.008674, allocations: 51.83 kB / 0.5584 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.00868, allocations: 4 kB / 0.5584 GB, free: 12.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.63e-05/0.008776, allocations: 15.98 kB / 0.5584 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.009013, allocations: 128 / 0.5584 GB, free: 12.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.009297, allocations: 123.7 kB / 0.5585 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.233e-05/0.009369, allocations: 63.34 kB / 0.5586 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.009e-05/0.009389, allocations: 0 / 0.5586 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.009414, allocations: 12.5 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009415, allocations: 3.938 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of Templates: time 0.002975/0.01239, allocations: 0.5853 MB / 0.5592 GB, free: 11.57 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.395110617042519]