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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001704, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5641/0.5641, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 223.1 MB / 354.3 MB, free: 10.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.000938, allocations: 107.2 kB / 427.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 19.98 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.153, allocations: 72.31 MB / 0.5689 GB, free: 1.574 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6575, allocations: 101.2 MB / 0.6678 GB, free: 3.113 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.6579, allocations: 80.72 kB / 0.6678 GB, free: 3.035 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003891/0.6618, allocations: 1.259 MB / 0.6691 GB, free: 1.789 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6618, allocations: 0 / 0.6691 GB, free: 1.789 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.6618, allocations: 4 kB / 0.6691 GB, free: 1.785 MB / 458.7 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.0004889/0.6623, allocations: 371.7 kB / 0.6694 GB, free: 1.375 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.6624, allocations: 12.03 kB / 0.6694 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.6624, allocations: 30.56 kB / 0.6695 GB, free: 1.324 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.6624, allocations: 7.859 kB / 0.6695 GB, free: 1.316 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.6626, allocations: 175.1 kB / 0.6696 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.6626, allocations: 0.875 kB / 0.6696 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.6627, allocations: 4 kB / 0.6696 GB, free: 1.102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.6628, allocations: 57.67 kB / 0.6697 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6629, allocations: 0 / 0.6697 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6629, allocations: 0 / 0.6697 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.6629, allocations: 3.953 kB / 0.6697 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.663, allocations: 47.91 kB / 0.6697 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.6634, allocations: 253.7 kB / 0.67 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.6636, allocations: 82.52 kB / 0.6701 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.6636, allocations: 0 / 0.6701 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.6636, allocations: 36.31 kB / 0.6701 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 2.956e-06/0.6636, allocations: 0 / 0.6701 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.02966/0.6933, allocations: 1.765 MB / 0.6718 GB, free: 14.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.6934, allocations: 55.41 kB / 0.6719 GB, free: 14.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.6935, allocations: 108.9 kB / 0.672 GB, free: 14.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.6936, allocations: 29.7 kB / 0.672 GB, free: 14.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.447e-05/0.6937, allocations: 84.14 kB / 0.6721 GB, free: 14.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.6937, allocations: 31.55 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.6938, allocations: 0 / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6939, allocations: 318.8 kB / 0.6724 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.6944, allocations: 155.9 kB / 0.6726 GB, free: 13.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.6949, allocations: 164.3 kB / 0.6727 GB, free: 13.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.6954, allocations: 172.1 kB / 0.6729 GB, free: 13.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6954, allocations: 0 / 0.6729 GB, free: 13.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001209/0.6966, allocations: 377.5 kB / 0.6732 GB, free: 13.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.6967, allocations: 15.88 kB / 0.6733 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.6967, allocations: 4 kB / 0.6733 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.6967, allocations: 0 / 0.6733 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.6984, allocations: 79.83 kB / 0.6733 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.6984, allocations: 4 kB / 0.6733 GB, free: 13.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.6999, allocations: 53.77 kB / 0.6734 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.6999, allocations: 7.969 kB / 0.6734 GB, free: 13.12 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.7001, allocations: 113.8 kB / 0.6735 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.7002, allocations: 7.906 kB / 0.6735 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.7004, allocations: 20.33 kB / 0.6735 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7004, allocations: 4 kB / 0.6735 GB, free: 12.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.7004, allocations: 4 kB / 0.6735 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7004, allocations: 0 / 0.6735 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005945/0.7064, allocations: 0.9077 MB / 0.6744 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7064, allocations: 3.938 kB / 0.6744 GB, free: 11.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.7076, allocations: 71.91 kB / 0.6745 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7076, allocations: 8.062 kB / 0.6745 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.7076, allocations: 8.844 kB / 0.6745 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7076, allocations: 4 kB / 0.6745 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7076, allocations: 0 / 0.6745 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009992/0.7087, allocations: 392.4 kB / 0.6749 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.7087, allocations: 89 kB / 0.675 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.7088, allocations: 64 / 0.675 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.7099, allocations: 51.95 kB / 0.675 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.7099, allocations: 11.94 kB / 0.675 GB, free: 11.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.71, allocations: 11.98 kB / 0.6751 GB, free: 11.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 7.108e-05/0.7101, allocations: 95.3 kB / 0.6751 GB, free: 11.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7101, allocations: 0 / 0.6751 GB, free: 11.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.7105, allocations: 103.9 kB / 0.6752 GB, free: 11.1 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/0.7123, allocations: 1.093 MB / 0.6763 GB, free: 9.965 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009928/0.7133, allocations: 271.8 kB / 0.6766 GB, free: 9.699 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.7133, allocations: 7.938 kB / 0.6766 GB, free: 9.691 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.7137, allocations: 120 kB / 0.6767 GB, free: 9.574 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.7139, allocations: 0 / 0.6767 GB, free: 9.574 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.719, allocations: 1.623 MB / 0.6783 GB, free: 7.895 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.7192, allocations: 0.6848 MB / 0.6789 GB, free: 7.184 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005266/0.7197, allocations: 55.98 kB / 0.679 GB, free: 7.129 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004904/0.7202, allocations: 35.38 kB / 0.679 GB, free: 7.094 MB / 474.7 MB Notification: Performance of SimCode: time 8.21e-07/0.7202, allocations: 8 kB / 0.679 GB, free: 7.086 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.7432, allocations: 9.01 MB / 0.6878 GB, free: 14.16 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.7435, allocations: 181.4 kB / 0.688 GB, free: 13.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.731, allocations: 3.938 kB / 0.688 GB, free: 13.92 MB / 490.7 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/linux/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)