Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001222/0.001222, allocations: 80.55 kB / 19.96 MB, free: 4.605 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.0008911/0.0008911, allocations: 173.2 kB / 23.24 MB, free: 1.328 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.9233/0.9233, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.82/1.82, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.225e-05, allocations: 6.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002091/0.002114, allocations: 1.448 MB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002581/0.002372, allocations: 87.61 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.002401, allocations: 4 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.002457, allocations: 0 / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.002494, allocations: 15.81 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.002754, allocations: 15.98 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.002826, allocations: 23.91 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.002929, allocations: 8 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.002975, allocations: 11.98 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.003007, allocations: 7.984 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.003023, allocations: 3.938 kB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.939e-05/0.003102, allocations: 23.97 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.003142, allocations: 4 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2e-05/0.003162, allocations: 8 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.003275, allocations: 35.83 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003277, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003278, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003282, allocations: 0 / 1.002 GB, free: 11.82 MB / 0.9636 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.0003349/0.003617, allocations: 266.3 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.003656, allocations: 13.34 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.003685, allocations: 30.75 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.055e-05/0.003706, allocations: 0.9375 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.714e-05/0.003793, allocations: 129.7 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.003803, allocations: 384 / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.003816, allocations: 4.375 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.003951, allocations: 50.23 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.003957, allocations: 192 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.003964, allocations: 384 / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.003969, allocations: 4.125 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.004056, allocations: 31.97 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002814/0.004337, allocations: 220.1 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.664e-05/0.004424, allocations: 46.48 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.004472, allocations: 28.91 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.004503, allocations: 4 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.004522, allocations: 34.5 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.004523, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002125/0.004735, allocations: 93.67 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.004763, allocations: 55.39 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.423e-05/0.004838, allocations: 105.9 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.004847, allocations: 25.7 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.004888, allocations: 96.08 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.004905, allocations: 7.891 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.004929, allocations: 13.72 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.005004, allocations: 314.8 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.005051, allocations: 15.98 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.005089, allocations: 24 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.005169, allocations: 44.77 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005172, allocations: 0 / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.00528, allocations: 77.53 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.005294, allocations: 11.94 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005299, allocations: 96 / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.005309, allocations: 4 kB / 1.004 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.005374, allocations: 7.984 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.00538, allocations: 3.984 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.005402, allocations: 7.984 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.005407, allocations: 4 kB / 1.004 GB, free: 9.887 MB / 0.9636 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 5.484e-05/0.005462, allocations: 105.8 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.005475, allocations: 7.938 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.005617, allocations: 77.28 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.00562, allocations: 7.969 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.005625, allocations: 0 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005627, allocations: 0 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.005737, allocations: 128.8 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005739, allocations: 3.938 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.005769, allocations: 8 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.005772, allocations: 3.938 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.005778, allocations: 0 / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.005781, allocations: 3.984 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005781, allocations: 4.031 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.005914, allocations: 167.5 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.005921, allocations: 7.938 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.267e-06/0.00593, allocations: 0 / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.624e-05/0.005967, allocations: 4 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.006, allocations: 4.234 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.006003, allocations: 0 / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.161e-05/0.006035, allocations: 91.28 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006035, allocations: 4.031 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001527/0.006187, allocations: 4 kB / 1.005 GB, free: 9.188 MB / 0.9636 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.0003568/0.006544, allocations: 0.7053 MB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.006673, allocations: 39.95 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.006675, allocations: 0 / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.006717, allocations: 32.02 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.006946, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.007289, allocations: 146.5 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.007336, allocations: 67.34 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.007355, allocations: 4 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.007384, allocations: 12.44 kB / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.007385, allocations: 0 / 1.006 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07378/0.08116, allocations: 2.075 MB / 1.008 GB, free: 6.16 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/7.043, allocations: 9.125 kB / 1.008 GB, free: 6.156 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_Polynomial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.Polynomial_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.Polynomial_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.Polynomial_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.Polynomial_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.Polynomial_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_Polynomial.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.Polynomial_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.580265676602721]