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.001189/0.001189, allocations: 103.8 kB / 15.98 MB, free: 6.348 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.001229/0.001228, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8018/0.8018, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.89 kB / 493.2 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3718, allocations: 76.17 MB / 0.556 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002806/0.3747, allocations: 0.6891 MB / 0.5567 GB, free: 35.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005019/0.3752, allocations: 191.6 kB / 0.5569 GB, free: 35.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.3753, allocations: 3.938 kB / 0.5569 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.3754, allocations: 1.312 kB / 0.5569 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.3756, allocations: 9.25 kB / 0.5569 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.3758, allocations: 67.53 kB / 0.557 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.3758, allocations: 27.89 kB / 0.557 GB, free: 35.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.3759, allocations: 5.734 kB / 0.557 GB, free: 35.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.3759, allocations: 22.22 kB / 0.557 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.376, allocations: 19.64 kB / 0.557 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.376, allocations: 1.406 kB / 0.557 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.3762, allocations: 108.4 kB / 0.5571 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.3763, allocations: 13.25 kB / 0.5571 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.3763, allocations: 11.72 kB / 0.5572 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3765, allocations: 106.2 kB / 0.5573 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3765, allocations: 1.938 kB / 0.5573 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3765, allocations: 1.312 kB / 0.5573 GB, free: 35.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.3765, allocations: 3.938 kB / 0.5573 GB, free: 35.63 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.0005111/0.377, allocations: 365.8 kB / 0.5576 GB, free: 35.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3771, allocations: 10.09 kB / 0.5576 GB, free: 35.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.922e-05/0.3771, allocations: 33.59 kB / 0.5577 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.3772, allocations: 11.19 kB / 0.5577 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3773, allocations: 172.6 kB / 0.5578 GB, free: 35.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3773, allocations: 5.875 kB / 0.5578 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3773, allocations: 2.469 kB / 0.5578 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3775, allocations: 58.92 kB / 0.5579 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3775, allocations: 7.844 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3775, allocations: 3.734 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3775, allocations: 3.938 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3777, allocations: 35.73 kB / 0.5579 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.3779, allocations: 243.6 kB / 0.5582 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3781, allocations: 67.67 kB / 0.5582 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.364e-05/0.3782, allocations: 27.55 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3783, allocations: 1.281 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.3783, allocations: 35.72 kB / 0.5583 GB, free: 34.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3783, allocations: 0.5 kB / 0.5583 GB, free: 34.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.03019/0.4085, allocations: 1.617 MB / 0.5599 GB, free: 34.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.4086, allocations: 53.69 kB / 0.5599 GB, free: 34.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.4087, allocations: 121 kB / 0.5601 GB, free: 34.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.4088, allocations: 26.42 kB / 0.5601 GB, free: 34.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.4089, allocations: 88.3 kB / 0.5602 GB, free: 34.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.409, allocations: 25.3 kB / 0.5602 GB, free: 34.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.4092, allocations: 25.58 kB / 0.5602 GB, free: 34.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.999e-05/0.4093, allocations: 322.5 kB / 0.5605 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.4098, allocations: 143.3 kB / 0.5607 GB, free: 33.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.4103, allocations: 137.1 kB / 0.5608 GB, free: 33.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/0.4113, allocations: 303.1 kB / 0.5611 GB, free: 33.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4113, allocations: 1.375 kB / 0.5611 GB, free: 33.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001198/0.4125, allocations: 336.7 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.4126, allocations: 5.375 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4126, allocations: 2.875 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.4126, allocations: 4.734 kB / 0.5614 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.4142, allocations: 60.55 kB / 0.5615 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4142, allocations: 2.125 kB / 0.5615 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.4156, allocations: 46.31 kB / 0.5615 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.4156, allocations: 2.812 kB / 0.5615 GB, free: 33.48 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.0001836/0.4158, allocations: 121.5 kB / 0.5616 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.4159, allocations: 8.578 kB / 0.5616 GB, free: 33.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.4161, allocations: 19.11 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4161, allocations: 2.359 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4161, allocations: 0 / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4161, allocations: 3.266 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00594/0.4221, allocations: 0.8461 MB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.4221, allocations: 7.578 kB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4232, allocations: 52.23 kB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.4232, allocations: 1.062 kB / 0.5625 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.4233, allocations: 12.47 kB / 0.5626 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4233, allocations: 1.781 kB / 0.5626 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4233, allocations: 1.062 kB / 0.5626 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.4243, allocations: 317.1 kB / 0.5629 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.4243, allocations: 89.72 kB / 0.5629 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.021e-05/0.4244, allocations: 6.734 kB / 0.563 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.4254, allocations: 40.95 kB / 0.563 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.4255, allocations: 6.5 kB / 0.563 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.4255, allocations: 4.766 kB / 0.563 GB, free: 32.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.4256, allocations: 95.47 kB / 0.5631 GB, free: 32.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4256, allocations: 288 / 0.5631 GB, free: 32.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004833/0.4261, allocations: 93 kB / 0.5632 GB, free: 32.57 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.001314/0.4274, allocations: 0.8793 MB / 0.564 GB, free: 31.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.4285, allocations: 247.7 kB / 0.5643 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4285, allocations: 0 / 0.5643 GB, free: 31.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004106/0.4289, allocations: 98.45 kB / 0.5644 GB, free: 31.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4292, allocations: 7.75 kB / 0.5644 GB, free: 31.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006731/0.436, allocations: 2.694 MB / 0.567 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.4362, allocations: 0.6877 MB / 0.5677 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000546/0.4367, allocations: 51.69 kB / 0.5677 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.4372, allocations: 20.2 kB / 0.5678 GB, free: 29.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4372, allocations: 0 / 0.5678 GB, free: 29.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03218/0.4694, allocations: 9.689 MB / 0.5772 GB, free: 26.55 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.4696, allocations: 205.3 kB / 0.5774 GB, free: 26.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.569, allocations: 0.6562 kB / 0.5774 GB, free: 26.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_QuinticHermite.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)