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.001621/0.001621, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001934/0.001934, allocations: 212.7 kB / 23.03 MB, free: 4.922 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002436/0.002436, allocations: 281.5 kB / 313.5 MB, free: 2.621 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.254/1.254, allocations: 180.6 MB / 0.5377 GB, free: 14.46 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.002856/0.002856, allocations: 91.36 kB / 0.7403 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1926, allocations: 95.39 MB / 0.8334 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002849/0.1955, allocations: 1.507 MB / 0.8349 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.1958, allocations: 100.5 kB / 0.835 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.1958, allocations: 0 / 0.835 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.1959, allocations: 7.938 kB / 0.835 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.1959, allocations: 11.92 kB / 0.835 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1961, allocations: 23.91 kB / 0.835 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.781e-05/0.1962, allocations: 47.84 kB / 0.8351 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.1963, allocations: 4 kB / 0.8351 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.22e-05/0.1964, allocations: 23.92 kB / 0.8351 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.926e-05/0.1964, allocations: 15.92 kB / 0.8351 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1964, allocations: 7.938 kB / 0.8351 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.1965, allocations: 19.98 kB / 0.8351 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.1965, allocations: 23.91 kB / 0.8352 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.1966, allocations: 11.94 kB / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1967, allocations: 60.02 kB / 0.8352 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1967, allocations: 0 / 0.8352 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1967, allocations: 0 / 0.8352 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1967, allocations: 0 / 0.8352 GB, free: 6.453 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.0005292/0.1973, allocations: 302 kB / 0.8355 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1973, allocations: 13.94 kB / 0.8355 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.038e-05/0.1973, allocations: 4.125 kB / 0.8355 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.1974, allocations: 38.73 kB / 0.8356 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.1974, allocations: 12.89 kB / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1975, allocations: 118.4 kB / 0.8357 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1975, allocations: 4.375 kB / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.1975, allocations: 384 / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.1978, allocations: 77.95 kB / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.1978, allocations: 0 / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1978, allocations: 4 kB / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1978, allocations: 0 / 0.8358 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1981, allocations: 83.86 kB / 0.8359 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1985, allocations: 248 kB / 0.8361 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1987, allocations: 66.47 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1989, allocations: 44.91 kB / 0.8362 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.1991, allocations: 27.98 kB / 0.8362 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1991, allocations: 38.56 kB / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1991, allocations: 0 / 0.8363 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005438/0.1997, allocations: 149.5 kB / 0.8364 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1997, allocations: 51.41 kB / 0.8364 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1998, allocations: 127.6 kB / 0.8366 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1998, allocations: 25.7 kB / 0.8366 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1999, allocations: 96.08 kB / 0.8367 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1999, allocations: 7.953 kB / 0.8367 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.2, allocations: 13.72 kB / 0.8367 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2001, allocations: 326.8 kB / 0.837 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2002, allocations: 35.97 kB / 0.8371 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2004, allocations: 40.14 kB / 0.8371 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.2007, allocations: 84.8 kB / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2007, allocations: 0 / 0.8372 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003261/0.201, allocations: 113.6 kB / 0.8373 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.201, allocations: 10.34 kB / 0.8373 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.201, allocations: 0 / 0.8373 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.201, allocations: 3.938 kB / 0.8373 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.2012, allocations: 15.98 kB / 0.8373 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2012, allocations: 0 / 0.8373 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.2012, allocations: 15.92 kB / 0.8373 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2012, allocations: 4 kB / 0.8373 GB, free: 4.102 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.075e-05/0.2013, allocations: 122.4 kB / 0.8374 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2014, allocations: 3.953 kB / 0.8374 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.2017, allocations: 125.5 kB / 0.8376 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2017, allocations: 0 / 0.8376 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2017, allocations: 3.984 kB / 0.8376 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2017, allocations: 4 kB / 0.8376 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2019, allocations: 148.7 kB / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2019, allocations: 0 / 0.8377 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.202, allocations: 15.97 kB / 0.8377 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.202, allocations: 0 / 0.8377 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.202, allocations: 4 kB / 0.8377 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.202, allocations: 3.938 kB / 0.8377 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.202, allocations: 0 / 0.8377 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.2024, allocations: 219.3 kB / 0.838 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.2024, allocations: 0 / 0.838 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2024, allocations: 0 / 0.838 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.2025, allocations: 15.98 kB / 0.838 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.2026, allocations: 3.984 kB / 0.838 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.2026, allocations: 4 kB / 0.838 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.2027, allocations: 96.77 kB / 0.8381 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2027, allocations: 0 / 0.8381 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002362/0.2029, allocations: 12 kB / 0.8381 GB, free: 3.254 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.0007605/0.2037, allocations: 0.7413 MB / 0.8388 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.204, allocations: 83.84 kB / 0.8389 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.204, allocations: 8 kB / 0.8389 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2042, allocations: 39.97 kB / 0.8389 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.2045, allocations: 6.938 kB / 0.8389 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.205, allocations: 195.1 kB / 0.8391 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.2051, allocations: 67.34 kB / 0.8392 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.2051, allocations: 0 / 0.8392 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.2052, allocations: 27.41 kB / 0.8392 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2052, allocations: 7.938 kB / 0.8392 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.2275, allocations: 2.107 MB / 0.8413 GB, free: 56 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.19, allocations: 6.172 kB / 0.8413 GB, free: 52 kB / 0.5762 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.600415303953923] Failed to read output from testmodel.py, exit status != 0: 11.371892158989795 11.389630651 11.189380746 Calling exit ...