Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8718/0.8718, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 172.9 kB / 182.2 MB, free: 9.465 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009663/0.0009664, allocations: 100 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 280.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.61e-05, allocations: 8 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5325, allocations: 82.77 MB / 0.7575 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.6817, allocations: 107.6 MB / 0.8625 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.6821, allocations: 79.94 kB / 0.8626 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004243/0.6864, allocations: 1.241 MB / 0.8638 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.544e-06/0.6864, allocations: 7.938 kB / 0.8638 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6864, allocations: 0 / 0.8638 GB, free: 2.941 MB / 0.5261 GB 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.0004086/0.6868, allocations: 358.4 kB / 0.8642 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.6869, allocations: 8.031 kB / 0.8642 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.6869, allocations: 11.89 kB / 0.8642 GB, free: 2.527 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.6871, allocations: 171 kB / 0.8643 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.6872, allocations: 3.953 kB / 0.8644 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.6872, allocations: 7.938 kB / 0.8644 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.68e-05/0.6873, allocations: 11.98 kB / 0.8644 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.541e-05/0.6874, allocations: 41.69 kB / 0.8644 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6874, allocations: 4 kB / 0.8644 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6874, allocations: 0 / 0.8644 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.6874, allocations: 4 kB / 0.8644 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.6878, allocations: 229.4 kB / 0.8646 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.996e-05/0.6879, allocations: 42.5 kB / 0.8647 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.6879, allocations: 12.86 kB / 0.8647 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.6879, allocations: 8 kB / 0.8647 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.6879, allocations: 30.56 kB / 0.8647 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.688, allocations: 0 / 0.8647 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.01628/0.7042, allocations: 1.199 MB / 0.8659 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.7043, allocations: 55.39 kB / 0.8659 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.7044, allocations: 105 kB / 0.866 GB, free: 496 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/0.7045, allocations: 29.7 kB / 0.8661 GB, free: 460 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.7046, allocations: 91.98 kB / 0.8662 GB, free: 364 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.7047, allocations: 23.7 kB / 0.8662 GB, free: 340 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.7047, allocations: 0 / 0.8662 GB, free: 340 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7049, allocations: 318.8 kB / 0.8665 GB, free: 12 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.7052, allocations: 116 kB / 0.8666 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.7055, allocations: 116.3 kB / 0.8667 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/0.7061, allocations: 159.8 kB / 0.8669 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7061, allocations: 3.984 kB / 0.8669 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001082/0.7072, allocations: 325.4 kB / 0.8672 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.7073, allocations: 4 kB / 0.8672 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7073, allocations: 0 / 0.8672 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.7073, allocations: 0 / 0.8672 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.7088, allocations: 79.8 kB / 0.8673 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.7088, allocations: 0 / 0.8673 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.7101, allocations: 51.95 kB / 0.8673 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.7102, allocations: 7.984 kB / 0.8673 GB, free: 15.16 MB / 0.5417 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 () * 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.0001656/0.7104, allocations: 104.9 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001092/0.7115, allocations: 321.5 kB / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.7116, allocations: 4 kB / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.7117, allocations: 16.62 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7117, allocations: 0 / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7117, allocations: 3.984 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.7117, allocations: 4 kB / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.7173, allocations: 0.8184 MB / 0.8686 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.7174, allocations: 4 kB / 0.8686 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.7185, allocations: 60 kB / 0.8686 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/0.7185, allocations: 4 kB / 0.8686 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.7186, allocations: 0 / 0.8686 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.7186, allocations: 3.953 kB / 0.8686 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7186, allocations: 4 kB / 0.8686 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/0.7196, allocations: 344.5 kB / 0.869 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.7197, allocations: 85.06 kB / 0.869 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.7198, allocations: 0 / 0.869 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7208, allocations: 47.94 kB / 0.8691 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.7209, allocations: 11.98 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.7209, allocations: 4.281 kB / 0.8691 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.721, allocations: 95.2 kB / 0.8692 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.721, allocations: 0 / 0.8692 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000426/0.7214, allocations: 99.94 kB / 0.8693 GB, free: 13.04 MB / 0.5417 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 () * 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.001479/0.7229, allocations: 1.031 MB / 0.8703 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006644/0.7236, allocations: 184 kB / 0.8705 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7236, allocations: 0 / 0.8705 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.7238, allocations: 67.92 kB / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.7241, allocations: 4 kB / 0.8705 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.7269, allocations: 284.9 kB / 0.8708 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.7272, allocations: 0.6962 MB / 0.8715 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005591/0.7277, allocations: 48 kB / 0.8715 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.7282, allocations: 19.42 kB / 0.8715 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/0.7282, allocations: 0 / 0.8715 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.7601, allocations: 7.956 MB / 0.8793 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.7604, allocations: 163.6 kB / 0.8795 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.767, allocations: 1.719 kB / 0.8795 GB, free: 2.418 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_QuinticHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)