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.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.000749/0.000749, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007382/0.0007382, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8425/0.8425, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001386/0.001386, allocations: 238.6 kB / 260.2 MB, free: 13.01 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 0.6769/0.6769, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.6476 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.738e-05, allocations: 9.094 kB / 0.6476 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.Polynomial): time 0.001075/0.001102, allocations: 0.5886 MB / 0.6482 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002301/0.001332, allocations: 35.89 kB / 0.6482 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.001346, allocations: 0 / 0.6482 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.001362, allocations: 0 / 0.6482 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.723e-06/0.001369, allocations: 4 kB / 0.6482 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.00171, allocations: 7.984 kB / 0.6482 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 4.883e-05/0.001759, allocations: 4 kB / 0.6482 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.001801, allocations: 0 / 0.6482 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.097e-05/0.001832, allocations: 7.984 kB / 0.6482 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.071e-05/0.001863, allocations: 7.938 kB / 0.6482 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.001877, allocations: 0 / 0.6482 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.159e-05/0.001969, allocations: 23.91 kB / 0.6482 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.001979, allocations: 0 / 0.6482 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.001994, allocations: 0 / 0.6482 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.002095, allocations: 19.92 kB / 0.6483 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002097, allocations: 0 / 0.6483 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002097, allocations: 0 / 0.6483 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.002102, allocations: 0 / 0.6483 GB, free: 0.5547 MB / 0.5573 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.0002419/0.002343, allocations: 238.5 kB / 0.6485 GB, free: 296 kB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.002377, allocations: 9.938 kB / 0.6485 GB, free: 288 kB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.002402, allocations: 4.938 kB / 0.6485 GB, free: 284 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.547e-05/0.002457, allocations: 101.8 kB / 0.6486 GB, free: 156 kB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.002467, allocations: 384 / 0.6486 GB, free: 156 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.002478, allocations: 384 / 0.6486 GB, free: 156 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/0.002557, allocations: 34.25 kB / 0.6486 GB, free: 116 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.002564, allocations: 8.125 kB / 0.6486 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.002571, allocations: 384 / 0.6486 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.002576, allocations: 384 / 0.6486 GB, free: 108 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.002596, allocations: 7.875 kB / 0.6486 GB, free: 100 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2324/0.235, allocations: 104.9 kB / 0.6487 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.2351, allocations: 14.58 kB / 0.6488 GB, free: 57.12 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.2351, allocations: 6.453 kB / 0.6488 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.2351, allocations: 1.25 kB / 0.6488 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.2351, allocations: 32.91 kB / 0.6488 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 2.364e-06/0.2351, allocations: 0 / 0.6488 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.000125/0.2353, allocations: 37.45 kB / 0.6488 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2353, allocations: 54.98 kB / 0.6489 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.243e-05/0.2353, allocations: 90.62 kB / 0.649 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-06/0.2353, allocations: 25.7 kB / 0.649 GB, free: 56.85 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-06/0.2353, allocations: 82.3 kB / 0.6491 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2353, allocations: 1.375 kB / 0.6491 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.2354, allocations: 15.17 kB / 0.6491 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.997e-05/0.2354, allocations: 317.1 kB / 0.6494 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-06/0.2354, allocations: 4.406 kB / 0.6494 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.2354, allocations: 2.234 kB / 0.6494 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.417e-05/0.2354, allocations: 10.33 kB / 0.6494 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2355, allocations: 0 / 0.6494 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.214e-05/0.2355, allocations: 39.83 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.2355, allocations: 9.109 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2355, allocations: 0 / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2355, allocations: 0.7656 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.2356, allocations: 3.062 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.2356, allocations: 0.875 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.2356, allocations: 7.969 kB / 0.6495 GB, free: 56.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2356, allocations: 3.375 kB / 0.6495 GB, free: 56.4 MB / 0.5573 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 3.641e-05/0.2357, allocations: 111.4 kB / 0.6496 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-06/0.2357, allocations: 0.6875 kB / 0.6496 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.368e-05/0.2357, allocations: 46.91 kB / 0.6496 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2357, allocations: 0.5938 kB / 0.6496 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2357, allocations: 1.969 kB / 0.6496 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2357, allocations: 6.891 kB / 0.6496 GB, free: 56.25 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.707e-05/0.2358, allocations: 99 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2358, allocations: 0.9062 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.2358, allocations: 3.062 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2358, allocations: 1.438 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.2358, allocations: 0 / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2358, allocations: 0 / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2358, allocations: 4.781 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.897e-05/0.2358, allocations: 65.16 kB / 0.6498 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.2359, allocations: 2.406 kB / 0.6498 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.2359, allocations: 6.656 kB / 0.6498 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-06/0.2359, allocations: 2.156 kB / 0.6498 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.2359, allocations: 0 / 0.6498 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.2359, allocations: 2.812 kB / 0.6498 GB, free: 56.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.377e-06/0.2359, allocations: 77.38 kB / 0.6499 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2359, allocations: 0 / 0.6499 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001305/0.236, allocations: 8.594 kB / 0.6499 GB, free: 55.98 MB / 0.5573 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.0001303/0.2362, allocations: 101.3 kB / 0.65 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.2362, allocations: 5.375 kB / 0.65 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2362, allocations: 0.8125 kB / 0.65 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-06/0.2362, allocations: 9.281 kB / 0.65 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.2363, allocations: 5.75 kB / 0.65 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001703/0.2365, allocations: 105.5 kB / 0.6501 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.43e-05/0.2365, allocations: 55.05 kB / 0.6502 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.2365, allocations: 13.27 kB / 0.6502 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2366, allocations: 0.9062 kB / 0.6502 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.001536/0.2381, allocations: 455 kB / 0.6506 GB, free: 55.7 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.339164163917303] Failed to read output from testmodel.py, exit status != 0: 0.24347963090986013 0.250497478 0.246937546 Calling exit ...