Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 100.2 kB / 16.4 MB, free: 6.457 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.001793/0.001793, allocations: 196 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7647/0.7647, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 73.73 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 76.19 MB / 0.6316 GB, free: 4.875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002203/0.1375, allocations: 1.413 MB / 0.633 GB, free: 3.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002852/0.1378, allocations: 92.59 kB / 0.6331 GB, free: 3.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.1378, allocations: 4 kB / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.856e-05/0.1379, allocations: 0 / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.1379, allocations: 15.86 kB / 0.6331 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.1381, allocations: 23.91 kB / 0.6331 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.419e-05/0.1382, allocations: 19.98 kB / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.042e-05/0.1383, allocations: 4 kB / 0.6331 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.1383, allocations: 11.94 kB / 0.6331 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.301e-05/0.1383, allocations: 11.92 kB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.1384, allocations: 4 kB / 0.6332 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.1384, allocations: 15.98 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.1385, allocations: 7.984 kB / 0.6332 GB, free: 3.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.1385, allocations: 15.92 kB / 0.6332 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1386, allocations: 39.89 kB / 0.6332 GB, free: 3.184 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1386, allocations: 0 / 0.6332 GB, free: 3.184 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1386, allocations: 0 / 0.6332 GB, free: 3.184 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.1386, allocations: 0 / 0.6332 GB, free: 3.184 MB / 478.1 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.0003751/0.139, allocations: 342.3 kB / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1391, allocations: 15.97 kB / 0.6336 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.1391, allocations: 30.75 kB / 0.6336 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.1391, allocations: 0.9375 kB / 0.6336 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.974e-05/0.1392, allocations: 184.2 kB / 0.6338 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1393, allocations: 8.312 kB / 0.6338 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1393, allocations: 384 / 0.6338 GB, free: 2.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1394, allocations: 50.23 kB / 0.6338 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1394, allocations: 3.938 kB / 0.6338 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1395, allocations: 4 kB / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1395, allocations: 0 / 0.6338 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1396, allocations: 31.97 kB / 0.6339 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.1399, allocations: 253.5 kB / 0.6341 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.14, allocations: 50.42 kB / 0.6342 GB, free: 2.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.1401, allocations: 24.91 kB / 0.6342 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.1401, allocations: 0 / 0.6342 GB, free: 2.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1402, allocations: 34.56 kB / 0.6342 GB, free: 2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1402, allocations: 0 / 0.6342 GB, free: 2 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003158/0.1405, allocations: 85.64 kB / 0.6343 GB, free: 1.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1405, allocations: 55.34 kB / 0.6344 GB, free: 1.844 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.1406, allocations: 105.8 kB / 0.6345 GB, free: 1.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1406, allocations: 29.7 kB / 0.6345 GB, free: 1.695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.1407, allocations: 88.55 kB / 0.6346 GB, free: 1.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1407, allocations: 11.83 kB / 0.6346 GB, free: 1.594 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.1407, allocations: 17.72 kB / 0.6346 GB, free: 1.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.1408, allocations: 310.8 kB / 0.6349 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1409, allocations: 19.98 kB / 0.6349 GB, free: 1.238 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.141, allocations: 15.97 kB / 0.6349 GB, free: 1.223 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.1411, allocations: 44.89 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1411, allocations: 3.938 kB / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001759/0.1413, allocations: 77.75 kB / 0.6351 GB, free: 1.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1413, allocations: 8 kB / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1413, allocations: 0 / 0.6351 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1414, allocations: 4 kB / 0.6351 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.1414, allocations: 12.02 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1415, allocations: 7.984 kB / 0.6351 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.1415, allocations: 3.984 kB / 0.6351 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1415, allocations: 4 kB / 0.6351 GB, free: 1.051 MB / 478.1 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 6.203e-05/0.1416, allocations: 109.8 kB / 0.6352 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.1416, allocations: 4 kB / 0.6352 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1418, allocations: 77.19 kB / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1419, allocations: 3.938 kB / 0.6353 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1419, allocations: 0 / 0.6353 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1419, allocations: 3.938 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.142, allocations: 169.6 kB / 0.6354 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.142, allocations: 3.938 kB / 0.6354 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.1421, allocations: 11.98 kB / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1421, allocations: 0 / 0.6355 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1421, allocations: 4 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1421, allocations: 0 / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1421, allocations: 4.031 kB / 0.6355 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.1423, allocations: 167.4 kB / 0.6356 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.1424, allocations: 77.11 kB / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1424, allocations: 0 / 0.6357 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.1425, allocations: 11.98 kB / 0.6357 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.1425, allocations: 4.031 kB / 0.6357 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1425, allocations: 4 kB / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.814e-05/0.1426, allocations: 83.27 kB / 0.6358 GB, free: 228 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1426, allocations: 0 / 0.6358 GB, free: 228 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.000223/0.1428, allocations: 12 kB / 0.6358 GB, free: 216 kB / 478.1 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.0004864/0.1433, allocations: 0.7007 MB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1435, allocations: 39.95 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1435, allocations: 0 / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.1436, allocations: 27.92 kB / 0.6366 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1439, allocations: 7.094 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.1443, allocations: 143.2 kB / 0.6367 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1445, allocations: 0.6807 MB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.407e-05/0.1446, allocations: 8.172 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.1446, allocations: 15.42 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1446, allocations: 0 / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.1599, allocations: 1.413 MB / 0.6388 GB, free: 13.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.628, allocations: 7.438 kB / 0.6388 GB, free: 13.15 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)