Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite",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.004781/0.004781, allocations: 101 kB / 15.73 MB, free: 6.059 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.001268/0.001268, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 285 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.241/1.241, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 99.84 kB / 0.6943 GB, free: 15.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4721, allocations: 89.12 MB / 0.7814 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001469/0.4736, allocations: 0.634 MB / 0.782 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.4752, allocations: 1.376 MB / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.4753, allocations: 0 / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.366e-05/0.4754, allocations: 0 / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.238e-05/0.4754, allocations: 10.17 kB / 0.7834 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.4761, allocations: 177.9 kB / 0.7835 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.4762, allocations: 50.08 kB / 0.7836 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.4762, allocations: 5.016 kB / 0.7836 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.4763, allocations: 16.98 kB / 0.7836 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.4763, allocations: 28.62 kB / 0.7836 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.4763, allocations: 3.438 kB / 0.7836 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.4767, allocations: 206.6 kB / 0.7838 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.4767, allocations: 15.16 kB / 0.7838 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.162e-05/0.4768, allocations: 22.42 kB / 0.7839 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.4771, allocations: 190.8 kB / 0.784 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4771, allocations: 3.938 kB / 0.784 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4771, allocations: 1.094 kB / 0.784 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4771, allocations: 0 / 0.784 GB, free: 15.12 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004697/0.4776, allocations: 445.4 kB / 0.7845 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4776, allocations: 9.594 kB / 0.7845 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.4777, allocations: 32.12 kB / 0.7845 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.4777, allocations: 8.109 kB / 0.7845 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.4779, allocations: 176.5 kB / 0.7847 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.4779, allocations: 2 kB / 0.7847 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.4779, allocations: 7.297 kB / 0.7847 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.4781, allocations: 96.95 kB / 0.7848 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.4781, allocations: 3.938 kB / 0.7848 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.4781, allocations: 1.156 kB / 0.7848 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4781, allocations: 1.156 kB / 0.7848 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.4782, allocations: 59.8 kB / 0.7848 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.4784, allocations: 172.9 kB / 0.785 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.4785, allocations: 85.03 kB / 0.7851 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.4786, allocations: 70.09 kB / 0.7852 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.4786, allocations: 0 / 0.7852 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4787, allocations: 35.75 kB / 0.7852 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.4787, allocations: 3.938 kB / 0.7852 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0003738/0.479, allocations: 255.1 kB / 0.7854 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.4791, allocations: 83.73 kB / 0.7855 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.4792, allocations: 151.4 kB / 0.7857 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4793, allocations: 27.08 kB / 0.7857 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.4793, allocations: 96.11 kB / 0.7858 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.4794, allocations: 5.266 kB / 0.7858 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.4794, allocations: 25.44 kB / 0.7858 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4796, allocations: 321.8 kB / 0.7861 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.4797, allocations: 99.72 kB / 0.7862 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4798, allocations: 109.3 kB / 0.7863 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.4801, allocations: 283 kB / 0.7866 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4801, allocations: 0 / 0.7866 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003507/0.4805, allocations: 325.5 kB / 0.7869 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.4805, allocations: 67.95 kB / 0.787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4805, allocations: 0 / 0.787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4805, allocations: 1.094 kB / 0.787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.4806, allocations: 0 / 0.787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.4806, allocations: 1.188 kB / 0.787 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.4807, allocations: 17 kB / 0.787 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4807, allocations: 7.656 kB / 0.787 GB, free: 12.69 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001132/0.4808, allocations: 150.8 kB / 0.7871 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.4809, allocations: 16.33 kB / 0.7872 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.4809, allocations: 5.516 kB / 0.7872 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4809, allocations: 3.984 kB / 0.7872 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4809, allocations: 5.062 kB / 0.7872 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.4809, allocations: 0 / 0.7872 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.4811, allocations: 173.6 kB / 0.7873 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4811, allocations: 3.938 kB / 0.7873 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.4811, allocations: 7.938 kB / 0.7873 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.4811, allocations: 1.281 kB / 0.7873 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4811, allocations: 2.156 kB / 0.7873 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4811, allocations: 3.984 kB / 0.7873 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4811, allocations: 0 / 0.7873 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.4814, allocations: 221.5 kB / 0.7876 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.4814, allocations: 95.08 kB / 0.7877 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.4815, allocations: 6.125 kB / 0.7877 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.4815, allocations: 7.281 kB / 0.7877 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.4816, allocations: 8.422 kB / 0.7877 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.4816, allocations: 2.156 kB / 0.7877 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.4817, allocations: 108.6 kB / 0.7878 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4817, allocations: 0 / 0.7878 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002857/0.482, allocations: 63.62 kB / 0.7878 GB, free: 11.94 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007436/0.4827, allocations: 0.8144 MB / 0.7886 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.4832, allocations: 373.7 kB / 0.789 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4832, allocations: 1.031 kB / 0.789 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.4834, allocations: 135.5 kB / 0.7891 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.4835, allocations: 11.42 kB / 0.7891 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.4857, allocations: 2.133 MB / 0.7912 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.4861, allocations: 0.69 MB / 0.7919 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.961e-06/0.4861, allocations: 0 / 0.7919 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.4861, allocations: 20.53 kB / 0.7919 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of SimCode: time 4.51e-07/0.4861, allocations: 5.375 kB / 0.7919 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.5092, allocations: 3.307 MB / 0.7951 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/8.263, allocations: 8.812 kB / 0.7951 GB, free: 6.957 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_CubicHermite.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)