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.001265/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001448/0.001448, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 281.5 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.894/0.894, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 91.2 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1864, allocations: 86.98 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002549/0.189, allocations: 1.536 MB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003235/0.1893, allocations: 108.6 kB / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.1894, allocations: 3.938 kB / 0.6811 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.1894, allocations: 4.594 kB / 0.6812 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-05/0.1895, allocations: 12.59 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.1897, allocations: 16.61 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.795e-05/0.1898, allocations: 39.84 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.1899, allocations: 10.09 kB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.1899, allocations: 23.91 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.19, allocations: 15.92 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.19, allocations: 8 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.538e-05/0.1901, allocations: 27.97 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1901, allocations: 7.938 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.1901, allocations: 19.86 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.1903, allocations: 55.8 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1903, allocations: 0 / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1903, allocations: 0 / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1903, allocations: 0 / 0.6814 GB, free: 15.19 MB / 494.1 MB 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.0005073/0.1908, allocations: 379.2 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1908, allocations: 12.03 kB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/0.1909, allocations: 34.75 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.1909, allocations: 8.844 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.191, allocations: 184.2 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1911, allocations: 384 / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.1911, allocations: 384 / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.1913, allocations: 78.16 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1913, allocations: 7.938 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1914, allocations: 0 / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1914, allocations: 0 / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.1917, allocations: 75.92 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.192, allocations: 280.9 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1922, allocations: 74.47 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.1924, allocations: 44.91 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002233/0.1926, allocations: 109.1 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1926, allocations: 30.56 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1926, allocations: 0 / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005186/0.1931, allocations: 149.5 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.1932, allocations: 55.41 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1933, allocations: 124.7 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.1933, allocations: 33.64 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.1934, allocations: 92.12 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.1934, allocations: 7.812 kB / 0.6831 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1934, allocations: 17.72 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1935, allocations: 322.8 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1937, allocations: 39.91 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1938, allocations: 35.95 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.1941, allocations: 80.72 kB / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1941, allocations: 0 / 0.6836 GB, free: 12.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003206/0.1944, allocations: 113.6 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1945, allocations: 4 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1945, allocations: 0 / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1945, allocations: 4 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1946, allocations: 15.92 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1946, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.1947, allocations: 27.81 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1947, allocations: 0 / 0.6837 GB, free: 12.55 MB / 494.1 MB 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.123e-05/0.1948, allocations: 118.4 kB / 0.6838 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.1948, allocations: 4 kB / 0.6838 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.1952, allocations: 117.8 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1952, allocations: 4.047 kB / 0.6839 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1952, allocations: 7.984 kB / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1952, allocations: 0 / 0.684 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1954, allocations: 189.5 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1954, allocations: 0 / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.1955, allocations: 19.92 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1955, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1955, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1955, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1955, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.1959, allocations: 215.3 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.1959, allocations: 81.02 kB / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1959, allocations: 0 / 0.6844 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.196, allocations: 15.98 kB / 0.6845 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.1961, allocations: 7.984 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.1961, allocations: 4 kB / 0.6845 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.1961, allocations: 95.27 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1962, allocations: 0 / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.1964, allocations: 12 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB 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.0006351/0.197, allocations: 0.7513 MB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1973, allocations: 75.92 kB / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1973, allocations: 0 / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1975, allocations: 51.89 kB / 0.6854 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1977, allocations: 7.938 kB / 0.6854 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.1982, allocations: 200.9 kB / 0.6856 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1985, allocations: 0.6926 MB / 0.6863 GB, free: 9.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1985, allocations: 3.984 kB / 0.6863 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.1986, allocations: 15.44 kB / 0.6863 GB, free: 9.688 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1986, allocations: 4 kB / 0.6863 GB, free: 9.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.2108, allocations: 1.628 MB / 0.6879 GB, free: 8.16 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.211, allocations: 204.4 kB / 0.6881 GB, free: 7.906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.811, allocations: 0 / 0.6881 GB, free: 7.906 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)