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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 219.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002513/0.002513, allocations: 273.8 kB / 313.5 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.229/1.229, allocations: 180.6 MB / 0.5377 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00285/0.00285, allocations: 99.12 kB / 0.7404 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1868, allocations: 95.38 MB / 0.8335 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002709/0.1895, allocations: 1.523 MB / 0.835 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003478/0.1898, allocations: 112.5 kB / 0.8351 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.1899, allocations: 0 / 0.8351 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.954e-05/0.1899, allocations: 7.938 kB / 0.8351 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.464e-05/0.19, allocations: 7.922 kB / 0.8351 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1902, allocations: 19.97 kB / 0.8351 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.675e-05/0.1903, allocations: 47.8 kB / 0.8352 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.489e-05/0.1904, allocations: 7.984 kB / 0.8352 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.44e-05/0.1904, allocations: 15.98 kB / 0.8352 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.1905, allocations: 31.86 kB / 0.8352 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1905, allocations: 0 / 0.8352 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.1906, allocations: 19.98 kB / 0.8352 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.1906, allocations: 15.97 kB / 0.8353 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1906, allocations: 19.88 kB / 0.8353 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1908, allocations: 52.03 kB / 0.8353 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1908, allocations: 4 kB / 0.8353 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1908, allocations: 0 / 0.8353 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1908, allocations: 0 / 0.8353 GB, free: 6.797 MB / 0.5762 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.0005318/0.1913, allocations: 302.1 kB / 0.8356 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1914, allocations: 13.34 kB / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.479e-05/0.1914, allocations: 192 / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.327e-05/0.1914, allocations: 38.69 kB / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.1915, allocations: 8.891 kB / 0.8357 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1916, allocations: 122.4 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1916, allocations: 4.375 kB / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.1916, allocations: 384 / 0.8358 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.1919, allocations: 77.97 kB / 0.8359 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.1919, allocations: 11.86 kB / 0.8359 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1919, allocations: 0 / 0.8359 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1919, allocations: 4 kB / 0.8359 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.1922, allocations: 75.91 kB / 0.836 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.1926, allocations: 267.9 kB / 0.8362 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1928, allocations: 62.53 kB / 0.8363 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.193, allocations: 40.91 kB / 0.8363 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.1932, allocations: 31.98 kB / 0.8363 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1932, allocations: 30.56 kB / 0.8364 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1932, allocations: 0 / 0.8364 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005943/0.1938, allocations: 157.5 kB / 0.8365 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1938, allocations: 51.41 kB / 0.8366 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.194, allocations: 125.5 kB / 0.8367 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.194, allocations: 29.69 kB / 0.8367 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.194, allocations: 96.09 kB / 0.8368 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1941, allocations: 3.953 kB / 0.8368 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.1941, allocations: 17.72 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1943, allocations: 322.8 kB / 0.8371 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1944, allocations: 39.95 kB / 0.8372 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.1946, allocations: 35.97 kB / 0.8372 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.1948, allocations: 76.72 kB / 0.8373 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1948, allocations: 4 kB / 0.8373 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003437/0.1952, allocations: 117.6 kB / 0.8374 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1952, allocations: 5.875 kB / 0.8374 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1952, allocations: 0 / 0.8374 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1952, allocations: 4 kB / 0.8374 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1954, allocations: 15.98 kB / 0.8374 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1954, allocations: 4 kB / 0.8374 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.1954, allocations: 19.91 kB / 0.8375 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1955, allocations: 0 / 0.8375 GB, free: 4.434 MB / 0.5762 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 9.697e-05/0.1956, allocations: 118.4 kB / 0.8376 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1956, allocations: 7.953 kB / 0.8376 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.196, allocations: 125.5 kB / 0.8377 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.196, allocations: 0 / 0.8377 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.196, allocations: 0 / 0.8377 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.196, allocations: 384 / 0.8377 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1962, allocations: 160.6 kB / 0.8378 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1962, allocations: 0 / 0.8378 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/0.1963, allocations: 11.98 kB / 0.8379 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1963, allocations: 4 kB / 0.8379 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1963, allocations: 0 / 0.8379 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1963, allocations: 0 / 0.8379 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1963, allocations: 7.938 kB / 0.8379 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.1967, allocations: 215.3 kB / 0.8381 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.1967, allocations: 4 kB / 0.8381 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1968, allocations: 0 / 0.8381 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1969, allocations: 19.98 kB / 0.8381 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1969, allocations: 3.984 kB / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.1969, allocations: 0 / 0.8381 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.888e-05/0.197, allocations: 103.3 kB / 0.8382 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.197, allocations: 0 / 0.8382 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002334/0.1972, allocations: 8 kB / 0.8382 GB, free: 3.578 MB / 0.5762 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.0007622/0.198, allocations: 0.7413 MB / 0.8389 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.1984, allocations: 87.86 kB / 0.839 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1984, allocations: 4 kB / 0.839 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1985, allocations: 39.95 kB / 0.8391 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1988, allocations: 4 kB / 0.8391 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.1993, allocations: 191.1 kB / 0.8392 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.1996, allocations: 0.6885 MB / 0.8399 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.1996, allocations: 7.984 kB / 0.8399 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1997, allocations: 19.44 kB / 0.8399 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1997, allocations: 0 / 0.8399 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.2225, allocations: 2.037 MB / 0.8419 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.2, allocations: 17.5 kB / 0.8419 GB, free: 15.81 MB / 0.5919 GB " [Timeout remaining time 649] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.517412276007235] Failed to read output from testmodel.py, exit status != 0: 11.36182315798942 11.379229509 11.185034756 Calling exit ...