Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.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.Functions.Examples.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite",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.00131/0.00131, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001261/0.001261, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8172/0.8172, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 65.44 kB / 0.5736 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1478, allocations: 78.86 MB / 0.6506 GB, free: 3.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001681/0.1496, allocations: 0.6233 MB / 0.6512 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004253/0.15, allocations: 199.4 kB / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1501, allocations: 0 / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.1501, allocations: 0 / 0.6514 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1502, allocations: 11.92 kB / 0.6514 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1504, allocations: 75.75 kB / 0.6515 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.1505, allocations: 35.84 kB / 0.6515 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.1505, allocations: 7.984 kB / 0.6515 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.1506, allocations: 11.94 kB / 0.6515 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.609e-05/0.1507, allocations: 23.91 kB / 0.6516 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1507, allocations: 0 / 0.6516 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1509, allocations: 111.7 kB / 0.6517 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.1509, allocations: 7.984 kB / 0.6517 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.1509, allocations: 15.86 kB / 0.6517 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.1511, allocations: 108 kB / 0.6518 GB, free: 2.312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1511, allocations: 3.938 kB / 0.6518 GB, free: 2.309 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1511, allocations: 4 kB / 0.6518 GB, free: 2.305 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1511, allocations: 0 / 0.6518 GB, free: 2.305 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005395/0.1517, allocations: 371.1 kB / 0.6522 GB, free: 1.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1517, allocations: 8.031 kB / 0.6522 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.1518, allocations: 30.75 kB / 0.6522 GB, free: 1.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.1518, allocations: 4.938 kB / 0.6522 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.152, allocations: 180.3 kB / 0.6524 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.152, allocations: 384 / 0.6524 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.152, allocations: 8.375 kB / 0.6524 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1521, allocations: 50.23 kB / 0.6524 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1522, allocations: 7.922 kB / 0.6524 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1522, allocations: 0 / 0.6524 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1522, allocations: 4 kB / 0.6524 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1523, allocations: 31.97 kB / 0.6525 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.1527, allocations: 248.9 kB / 0.6527 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1529, allocations: 78.41 kB / 0.6528 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.153, allocations: 20.94 kB / 0.6528 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.153, allocations: 0 / 0.6528 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.153, allocations: 34.56 kB / 0.6528 GB, free: 1.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/0.153, allocations: 4 kB / 0.6528 GB, free: 1.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.02777/0.1808, allocations: 1.616 MB / 0.6544 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.1809, allocations: 51.41 kB / 0.6545 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1811, allocations: 117.8 kB / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.1811, allocations: 29.7 kB / 0.6546 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.1812, allocations: 88.09 kB / 0.6547 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.1813, allocations: 31.73 kB / 0.6547 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.1815, allocations: 29.64 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1817, allocations: 318.8 kB / 0.655 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.1822, allocations: 143.9 kB / 0.6552 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.1827, allocations: 144.3 kB / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.1837, allocations: 296.9 kB / 0.6556 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1837, allocations: 0 / 0.6556 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001231/0.185, allocations: 337.5 kB / 0.6559 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.185, allocations: 8 kB / 0.6559 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.185, allocations: 0 / 0.6559 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.185, allocations: 0 / 0.6559 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.1866, allocations: 63.92 kB / 0.656 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1867, allocations: 0 / 0.656 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.188, allocations: 47.94 kB / 0.656 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.1881, allocations: 4 kB / 0.656 GB, free: 13.71 MB / 0.4981 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 (9): * Single equations (assignments): 9 * 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 0.0001759/0.1883, allocations: 121.7 kB / 0.6562 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.1883, allocations: 4 kB / 0.6562 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.1885, allocations: 16.38 kB / 0.6562 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1885, allocations: 0 / 0.6562 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1885, allocations: 0 / 0.6562 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1885, allocations: 7.984 kB / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005956/0.1945, allocations: 0.8493 MB / 0.657 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1945, allocations: 4 kB / 0.657 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.1957, allocations: 55.88 kB / 0.6571 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1957, allocations: 4.062 kB / 0.6571 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.1958, allocations: 7.938 kB / 0.6571 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1958, allocations: 0 / 0.6571 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1958, allocations: 0 / 0.6571 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1968, allocations: 325.1 kB / 0.6574 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.76e-05/0.1969, allocations: 85.52 kB / 0.6575 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.347e-05/0.197, allocations: 3.938 kB / 0.6575 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.1981, allocations: 39.95 kB / 0.6575 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1981, allocations: 3.938 kB / 0.6575 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.1981, allocations: 12.08 kB / 0.6575 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.1982, allocations: 99.22 kB / 0.6576 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1982, allocations: 0 / 0.6576 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004065/0.1986, allocations: 95.86 kB / 0.6577 GB, free: 11.88 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.001419/0.2001, allocations: 0.8779 MB / 0.6586 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.2011, allocations: 239.9 kB / 0.6588 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2011, allocations: 4 kB / 0.6588 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.2015, allocations: 91.89 kB / 0.6589 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2018, allocations: 13.7 kB / 0.6589 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/0.2088, allocations: 2.675 MB / 0.6615 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.2092, allocations: 0.6845 MB / 0.6622 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004544/0.2096, allocations: 59.77 kB / 0.6623 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/0.2101, allocations: 23.42 kB / 0.6623 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.2101, allocations: 0 / 0.6623 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.2472, allocations: 9.805 MB / 0.6718 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.607, allocations: 7.172 kB / 0.6719 GB, free: 13.31 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)