Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.004684/0.004684, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001283/0.001283, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 291.1 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.232/1.232, allocations: 178.5 MB / 0.5074 GB, free: 12.74 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 99.84 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4548, allocations: 89.13 MB / 0.7813 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002399/0.4573, allocations: 1.494 MB / 0.7828 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.4577, allocations: 118.7 kB / 0.7829 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.4577, allocations: 1.344 kB / 0.7829 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.438e-05/0.4578, allocations: 3.938 kB / 0.7829 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.4578, allocations: 14.98 kB / 0.7829 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.4581, allocations: 26.78 kB / 0.783 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.4582, allocations: 44.94 kB / 0.783 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4583, allocations: 13.12 kB / 0.783 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.4584, allocations: 17.45 kB / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.4584, allocations: 30.95 kB / 0.7831 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.4585, allocations: 2.812 kB / 0.7831 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.4586, allocations: 35.16 kB / 0.7831 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.4586, allocations: 15.92 kB / 0.7831 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.4587, allocations: 28.16 kB / 0.7831 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.4588, allocations: 75.17 kB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4588, allocations: 1.781 kB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4588, allocations: 3.938 kB / 0.7832 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.4588, allocations: 0 / 0.7832 GB, free: 15.66 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005629/0.4594, allocations: 385.8 kB / 0.7836 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4595, allocations: 10.31 kB / 0.7836 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.4595, allocations: 36.97 kB / 0.7836 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.4596, allocations: 11.36 kB / 0.7836 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.4597, allocations: 176 kB / 0.7838 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4597, allocations: 1.75 kB / 0.7838 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.4597, allocations: 1.844 kB / 0.7838 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.46, allocations: 109.2 kB / 0.7839 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.46, allocations: 3.938 kB / 0.7839 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.4601, allocations: 1.812 kB / 0.7839 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.4601, allocations: 10.8 kB / 0.7839 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.4605, allocations: 133.8 kB / 0.7841 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.4609, allocations: 347.3 kB / 0.7844 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.4611, allocations: 49.64 kB / 0.7844 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4613, allocations: 47.5 kB / 0.7845 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.4616, allocations: 123.8 kB / 0.7846 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4616, allocations: 34.5 kB / 0.7846 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4616, allocations: 0 / 0.7846 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005639/0.4622, allocations: 137.4 kB / 0.7848 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.4623, allocations: 56.5 kB / 0.7848 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4624, allocations: 148.7 kB / 0.785 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.4624, allocations: 27.67 kB / 0.785 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.4625, allocations: 115.9 kB / 0.7851 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4625, allocations: 14.28 kB / 0.7851 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.4626, allocations: 30.8 kB / 0.7851 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4628, allocations: 325.6 kB / 0.7855 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.4629, allocations: 41.73 kB / 0.7855 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.4632, allocations: 116.8 kB / 0.7856 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.4636, allocations: 169.2 kB / 0.7858 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.4636, allocations: 0.9375 kB / 0.7858 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004471/0.464, allocations: 182.8 kB / 0.7859 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.4641, allocations: 9.281 kB / 0.7859 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4641, allocations: 2.562 kB / 0.786 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4641, allocations: 8.281 kB / 0.786 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.4643, allocations: 45.22 kB / 0.786 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4643, allocations: 3.594 kB / 0.786 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4644, allocations: 26.22 kB / 0.786 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.4644, allocations: 7.188 kB / 0.786 GB, free: 13.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 9.498e-05/0.4645, allocations: 129.2 kB / 0.7862 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.4646, allocations: 7.297 kB / 0.7862 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.465, allocations: 125.7 kB / 0.7863 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.465, allocations: 4.969 kB / 0.7863 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.465, allocations: 1.062 kB / 0.7863 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.465, allocations: 3.938 kB / 0.7863 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.4652, allocations: 177.5 kB / 0.7865 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4652, allocations: 0 / 0.7865 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.846e-05/0.4653, allocations: 19.28 kB / 0.7865 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4653, allocations: 1.062 kB / 0.7865 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4653, allocations: 5.156 kB / 0.7865 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4653, allocations: 3.938 kB / 0.7865 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4654, allocations: 0 / 0.7865 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.4657, allocations: 200 kB / 0.7867 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.4658, allocations: 86.36 kB / 0.7868 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.4658, allocations: 1.219 kB / 0.7868 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4659, allocations: 18.86 kB / 0.7868 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.466, allocations: 2.594 kB / 0.7868 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.466, allocations: 2.219 kB / 0.7868 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.4661, allocations: 112.3 kB / 0.7869 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4661, allocations: 0 / 0.7869 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002617/0.4664, allocations: 19.12 kB / 0.7869 GB, free: 12.26 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0009047/0.4673, allocations: 0.7351 MB / 0.7876 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.4678, allocations: 99.12 kB / 0.7877 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4678, allocations: 0.625 kB / 0.7877 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.468, allocations: 45.55 kB / 0.7878 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.4684, allocations: 11.88 kB / 0.7878 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/0.4691, allocations: 194.1 kB / 0.788 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.4696, allocations: 0.6939 MB / 0.7886 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000121/0.4697, allocations: 25.7 kB / 0.7887 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.4698, allocations: 28.02 kB / 0.7887 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4698, allocations: 0 / 0.7887 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.4931, allocations: 2.21 MB / 0.7909 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.202, allocations: 12.42 kB / 0.7909 GB, free: 9.387 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic_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_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)