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.001075/0.001075, allocations: 100.6 kB / 16.27 MB, free: 5.977 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.001108/0.001108, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.27/1.27, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 59.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3462, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00177/0.348, allocations: 0.6231 MB / 0.5679 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.3484, allocations: 195.8 kB / 0.5681 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.3485, allocations: 4.125 kB / 0.5681 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.3485, allocations: 3.938 kB / 0.5681 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.3486, allocations: 14.83 kB / 0.5681 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.3488, allocations: 73.08 kB / 0.5682 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.3489, allocations: 23.19 kB / 0.5682 GB, free: 32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.3489, allocations: 11.55 kB / 0.5682 GB, free: 32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.349, allocations: 17.14 kB / 0.5682 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.349, allocations: 18.41 kB / 0.5682 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3491, allocations: 3 kB / 0.5682 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3492, allocations: 113.4 kB / 0.5684 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.3493, allocations: 11.31 kB / 0.5684 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3493, allocations: 12.88 kB / 0.5684 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.3495, allocations: 105.7 kB / 0.5685 GB, free: 31.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3495, allocations: 1.062 kB / 0.5685 GB, free: 31.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3495, allocations: 3.938 kB / 0.5685 GB, free: 31.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3495, allocations: 0 / 0.5685 GB, free: 31.89 MB / 446.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.0004588/0.35, allocations: 374.3 kB / 0.5688 GB, free: 31.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.35, allocations: 11.25 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.35, allocations: 32.48 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.3501, allocations: 3.219 kB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.3502, allocations: 176.7 kB / 0.5691 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.3502, allocations: 5.281 kB / 0.5691 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3502, allocations: 3.484 kB / 0.5691 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3503, allocations: 53.72 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3504, allocations: 3.938 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.3504, allocations: 1.969 kB / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3504, allocations: 0 / 0.5691 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.3505, allocations: 39.62 kB / 0.5692 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.3507, allocations: 244.3 kB / 0.5694 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3509, allocations: 68.89 kB / 0.5695 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.131e-05/0.351, allocations: 32.05 kB / 0.5695 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.351, allocations: 0.9688 kB / 0.5695 GB, free: 30.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3511, allocations: 37.22 kB / 0.5695 GB, free: 30.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.3511, allocations: 1.188 kB / 0.5695 GB, free: 30.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.02767/0.3788, allocations: 1.613 MB / 0.5711 GB, free: 30.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.3788, allocations: 52.81 kB / 0.5712 GB, free: 30.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.201e-05/0.3789, allocations: 121.2 kB / 0.5713 GB, free: 30.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.379, allocations: 25.7 kB / 0.5713 GB, free: 30.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.379, allocations: 88.3 kB / 0.5714 GB, free: 30.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.3791, allocations: 25.95 kB / 0.5714 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.3793, allocations: 26.19 kB / 0.5714 GB, free: 30.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.3793, allocations: 323.1 kB / 0.5717 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.3798, allocations: 140.7 kB / 0.5719 GB, free: 30 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.3803, allocations: 139.5 kB / 0.572 GB, free: 29.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009425/0.3812, allocations: 305.7 kB / 0.5723 GB, free: 29.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3812, allocations: 4 kB / 0.5723 GB, free: 29.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001122/0.3824, allocations: 338.2 kB / 0.5726 GB, free: 29.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3824, allocations: 6 kB / 0.5726 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3824, allocations: 0.7031 kB / 0.5726 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3824, allocations: 1.719 kB / 0.5726 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.384, allocations: 66.69 kB / 0.5727 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.384, allocations: 0 / 0.5727 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3854, allocations: 46.39 kB / 0.5727 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.3854, allocations: 4.609 kB / 0.5727 GB, free: 29.73 MB / 446.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 (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.0001562/0.3856, allocations: 120.6 kB / 0.5729 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.3857, allocations: 4.016 kB / 0.5729 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3858, allocations: 19.73 kB / 0.5729 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3858, allocations: 1.094 kB / 0.5729 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3858, allocations: 1.5 kB / 0.5729 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3859, allocations: 0 / 0.5729 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.3915, allocations: 0.8488 MB / 0.5737 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3915, allocations: 1.094 kB / 0.5737 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.3927, allocations: 53.44 kB / 0.5738 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.3927, allocations: 4.312 kB / 0.5738 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.3927, allocations: 10.92 kB / 0.5738 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3927, allocations: 1.469 kB / 0.5738 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3927, allocations: 1.469 kB / 0.5738 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.3936, allocations: 319.4 kB / 0.5741 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.3936, allocations: 84.5 kB / 0.5742 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.3937, allocations: 5.375 kB / 0.5742 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.3948, allocations: 41.36 kB / 0.5742 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3948, allocations: 5.516 kB / 0.5742 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.3948, allocations: 4.062 kB / 0.5742 GB, free: 28.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.3949, allocations: 100.5 kB / 0.5743 GB, free: 28.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3949, allocations: 0 / 0.5743 GB, free: 28.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.3953, allocations: 93.45 kB / 0.5744 GB, free: 28.83 MB / 446.1 MB 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.001138/0.3965, allocations: 0.8752 MB / 0.5753 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009471/0.3974, allocations: 244.2 kB / 0.5755 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3974, allocations: 0 / 0.5755 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.3978, allocations: 102.2 kB / 0.5756 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.3981, allocations: 8.969 kB / 0.5756 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.4043, allocations: 2.676 MB / 0.5782 GB, free: 26.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.4045, allocations: 0.685 MB / 0.5789 GB, free: 25.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005002/0.405, allocations: 50.05 kB / 0.5789 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.4054, allocations: 19.64 kB / 0.5789 GB, free: 25.54 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4054, allocations: 4 kB / 0.5789 GB, free: 25.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.4288, allocations: 9.769 MB / 0.5885 GB, free: 20.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.885, allocations: 6.25 kB / 0.5885 GB, free: 20.49 MB / 446.1 MB (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)