Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",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.009578/0.009578, allocations: 95.17 kB / 15.73 MB, free: 6.047 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.002091/0.002091, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002472, allocations: 274.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.049/1.049, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 103.8 kB / 0.6943 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4648, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002724/0.4676, allocations: 1.491 MB / 0.7828 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.4679, allocations: 113.7 kB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.468, allocations: 0 / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.466e-05/0.468, allocations: 6.625 kB / 0.7829 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.4681, allocations: 8.359 kB / 0.7829 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.4683, allocations: 26.56 kB / 0.7829 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.4684, allocations: 46.59 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.948e-05/0.4685, allocations: 14.67 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.4686, allocations: 17.47 kB / 0.783 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.4686, allocations: 23.42 kB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.4687, allocations: 3.938 kB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.4687, allocations: 15.78 kB / 0.7831 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.4688, allocations: 17.3 kB / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.4688, allocations: 26.05 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.469, allocations: 56.25 kB / 0.7832 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.469, allocations: 2.016 kB / 0.7832 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.469, allocations: 0 / 0.7832 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.469, allocations: 0 / 0.7832 GB, free: 12.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005946/0.4696, allocations: 382.5 kB / 0.7835 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4697, allocations: 9.406 kB / 0.7835 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.4697, allocations: 32.81 kB / 0.7836 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.4697, allocations: 11.58 kB / 0.7836 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.4699, allocations: 174.8 kB / 0.7837 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4699, allocations: 1.562 kB / 0.7837 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.4699, allocations: 1.531 kB / 0.7837 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.4702, allocations: 73.8 kB / 0.7838 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4702, allocations: 5.375 kB / 0.7838 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4702, allocations: 4 kB / 0.7838 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4702, allocations: 1.125 kB / 0.7838 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.4706, allocations: 79.17 kB / 0.7839 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.4709, allocations: 296.3 kB / 0.7842 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.4712, allocations: 64.81 kB / 0.7842 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.4713, allocations: 45.36 kB / 0.7843 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.4716, allocations: 105.4 kB / 0.7844 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4716, allocations: 36.55 kB / 0.7844 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4716, allocations: 0 / 0.7844 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005909/0.4722, allocations: 151.1 kB / 0.7846 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4723, allocations: 53.55 kB / 0.7846 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4724, allocations: 128.2 kB / 0.7847 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.4724, allocations: 25.7 kB / 0.7848 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.4725, allocations: 92.14 kB / 0.7849 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.4725, allocations: 13.98 kB / 0.7849 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.4725, allocations: 17.42 kB / 0.7849 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4727, allocations: 319.6 kB / 0.7852 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.4728, allocations: 35.83 kB / 0.7852 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.473, allocations: 35.72 kB / 0.7853 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.4733, allocations: 87.16 kB / 0.7853 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.4733, allocations: 4.562 kB / 0.7853 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003473/0.4737, allocations: 112.3 kB / 0.7855 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4737, allocations: 9.422 kB / 0.7855 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4737, allocations: 1.156 kB / 0.7855 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4737, allocations: 0 / 0.7855 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4738, allocations: 16.66 kB / 0.7855 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4738, allocations: 0 / 0.7855 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.4739, allocations: 16.17 kB / 0.7855 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.4739, allocations: 0.7969 kB / 0.7855 GB, free: 10.64 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.228e-05/0.474, allocations: 115.3 kB / 0.7856 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.4741, allocations: 11.11 kB / 0.7856 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003868/0.4745, allocations: 122.8 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4745, allocations: 1.609 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4745, allocations: 0 / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.4745, allocations: 1.469 kB / 0.7857 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.4747, allocations: 179.7 kB / 0.7859 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4747, allocations: 4 kB / 0.7859 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.385e-05/0.4748, allocations: 16.31 kB / 0.7859 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4748, allocations: 0 / 0.7859 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4748, allocations: 1.438 kB / 0.7859 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4748, allocations: 1.125 kB / 0.7859 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4748, allocations: 0 / 0.7859 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.4752, allocations: 212.7 kB / 0.7861 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.4753, allocations: 87.34 kB / 0.7862 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.4753, allocations: 5.219 kB / 0.7862 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.4754, allocations: 14.72 kB / 0.7862 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.4755, allocations: 4.125 kB / 0.7862 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.4755, allocations: 1.938 kB / 0.7862 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.4756, allocations: 103.5 kB / 0.7863 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4756, allocations: 4 kB / 0.7863 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002273/0.4758, allocations: 13.69 kB / 0.7864 GB, free: 9.902 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.000731/0.4765, allocations: 0.7449 MB / 0.7871 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.4769, allocations: 84.2 kB / 0.7872 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4769, allocations: 1.375 kB / 0.7872 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4771, allocations: 38.77 kB / 0.7872 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4773, allocations: 7.234 kB / 0.7872 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.4778, allocations: 183.2 kB / 0.7874 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.4781, allocations: 0.6943 MB / 0.7881 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.4781, allocations: 1.766 kB / 0.7881 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.4782, allocations: 15.12 kB / 0.7881 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.4782, allocations: 0 / 0.7881 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.4999, allocations: 1.896 MB / 0.7899 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.351, allocations: 7.938 kB / 0.7899 GB, free: 7.898 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic_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_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)