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.8487/0.8487, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 186.5 kB / 187.3 MB, free: 11.88 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.567/1.567, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.001023/0.001023, allocations: 93.78 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001952, allocations: 278.7 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.239e-05/4.24e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5153, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.6554, allocations: 108.2 MB / 0.8701 GB, free: 328 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6558, allocations: 75.95 kB / 0.8702 GB, free: 252 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004141/0.66, allocations: 1.244 MB / 0.8714 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.003e-06/0.66, allocations: 0 / 0.8714 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.66, allocations: 4 kB / 0.8714 GB, free: 15 MB / 0.5417 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.000449/0.6605, allocations: 354.4 kB / 0.8717 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.6605, allocations: 8.031 kB / 0.8717 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.438e-05/0.6606, allocations: 34.56 kB / 0.8718 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.6607, allocations: 7.906 kB / 0.8718 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.6609, allocations: 179 kB / 0.8719 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.6609, allocations: 0 / 0.8719 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.661, allocations: 4 kB / 0.8719 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.6611, allocations: 45.62 kB / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6611, allocations: 0 / 0.872 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6611, allocations: 4 kB / 0.872 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6611, allocations: 3.984 kB / 0.872 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.6612, allocations: 16 kB / 0.872 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.6616, allocations: 256.9 kB / 0.8722 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.6618, allocations: 38.52 kB / 0.8723 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.6618, allocations: 20.94 kB / 0.8723 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.6618, allocations: 0 / 0.8723 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.6619, allocations: 30.56 kB / 0.8723 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.6619, allocations: 4 kB / 0.8723 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.01576/0.6777, allocations: 1.129 MB / 0.8734 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.6777, allocations: 51.41 kB / 0.8735 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.6779, allocations: 116.9 kB / 0.8736 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.083e-05/0.678, allocations: 33.7 kB / 0.8736 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.678, allocations: 91.98 kB / 0.8737 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.6781, allocations: 19.7 kB / 0.8737 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.6782, allocations: 4 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6783, allocations: 310.8 kB / 0.874 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.6787, allocations: 116 kB / 0.8741 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.6791, allocations: 119.9 kB / 0.8743 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/0.6795, allocations: 120 kB / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.6795, allocations: 0 / 0.8744 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009532/0.6804, allocations: 277.5 kB / 0.8746 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6805, allocations: 7.938 kB / 0.8746 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6805, allocations: 7.188 kB / 0.8747 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6805, allocations: 4 kB / 0.8747 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.682, allocations: 63.94 kB / 0.8747 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6821, allocations: 0 / 0.8747 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.6834, allocations: 59.94 kB / 0.8748 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/0.6835, allocations: 8.609 kB / 0.8748 GB, free: 11.29 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.0001746/0.6836, allocations: 101 kB / 0.8749 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.6837, allocations: 11.91 kB / 0.8749 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.6839, allocations: 12.62 kB / 0.8749 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6839, allocations: 4 kB / 0.8749 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6839, allocations: 0 / 0.8749 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.6839, allocations: 7.984 kB / 0.8749 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005514/0.6894, allocations: 0.8141 MB / 0.8757 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6895, allocations: 0 / 0.8757 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.6906, allocations: 59.94 kB / 0.8758 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6906, allocations: 0 / 0.8758 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.6907, allocations: 7.953 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6907, allocations: 64 / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6907, allocations: 4 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.6914, allocations: 300.5 kB / 0.8761 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.6915, allocations: 85.02 kB / 0.8761 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.6916, allocations: 8 kB / 0.8762 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6926, allocations: 48 kB / 0.8762 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.6926, allocations: 8 kB / 0.8762 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.6927, allocations: 4 kB / 0.8762 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.6927, allocations: 95.27 kB / 0.8763 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6928, allocations: 0 / 0.8763 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000414/0.6932, allocations: 99.94 kB / 0.8764 GB, free: 9.512 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.001343/0.6945, allocations: 0.9838 MB / 0.8774 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007581/0.6953, allocations: 191.9 kB / 0.8775 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6953, allocations: 0 / 0.8775 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.6956, allocations: 71.92 kB / 0.8776 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.6958, allocations: 11.94 kB / 0.8776 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.6986, allocations: 288.3 kB / 0.8779 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.699, allocations: 0.6887 MB / 0.8786 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004893/0.6995, allocations: 48 kB / 0.8786 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.7, allocations: 27.42 kB / 0.8786 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/0.7, allocations: 0 / 0.8786 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.7271, allocations: 8.903 MB / 0.8873 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/0.7273, allocations: 167.2 kB / 0.8875 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.908, allocations: 0 / 0.8875 GB, free: 14.11 MB / 0.5573 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)