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.001385/0.001385, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001827/0.001827, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 8.008 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.002493/0.002493, allocations: 294.1 kB / 312.7 MB, free: 2.812 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.196/1.196, allocations: 180.6 MB / 0.5369 GB, free: 13.06 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="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"}) [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.004714/0.004714, allocations: 113 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.197, allocations: 95.37 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002894/0.1999, allocations: 1.54 MB / 0.8342 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.2002, allocations: 112.5 kB / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.2002, allocations: 0 / 0.8343 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.341e-05/0.2003, allocations: 3.938 kB / 0.8343 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.205e-05/0.2003, allocations: 7.938 kB / 0.8343 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.2005, allocations: 19.97 kB / 0.8344 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.895e-05/0.2006, allocations: 43.86 kB / 0.8344 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.2007, allocations: 15.91 kB / 0.8344 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.2007, allocations: 19.98 kB / 0.8344 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.2008, allocations: 23.86 kB / 0.8345 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2008, allocations: 4 kB / 0.8345 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.2009, allocations: 19.98 kB / 0.8345 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.2009, allocations: 7.984 kB / 0.8345 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.2009, allocations: 23.88 kB / 0.8345 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2011, allocations: 60.02 kB / 0.8346 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2011, allocations: 0 / 0.8346 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2011, allocations: 0 / 0.8346 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.2011, allocations: 0 / 0.8346 GB, free: 6.73 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.0005378/0.2016, allocations: 306.1 kB / 0.8349 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2017, allocations: 9.938 kB / 0.8349 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.2017, allocations: 34.69 kB / 0.8349 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.2017, allocations: 8.891 kB / 0.8349 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2019, allocations: 119.8 kB / 0.835 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2019, allocations: 4.375 kB / 0.835 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2019, allocations: 4.375 kB / 0.835 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.2021, allocations: 74.22 kB / 0.8351 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2021, allocations: 3.938 kB / 0.8351 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2022, allocations: 7.938 kB / 0.8351 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2022, allocations: 0 / 0.8351 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.2024, allocations: 79.84 kB / 0.8352 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.2029, allocations: 263.9 kB / 0.8354 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.2031, allocations: 62.53 kB / 0.8355 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2032, allocations: 44.91 kB / 0.8356 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.2034, allocations: 27.98 kB / 0.8356 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2035, allocations: 34.56 kB / 0.8356 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2035, allocations: 0 / 0.8356 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005619/0.204, allocations: 153.5 kB / 0.8358 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2041, allocations: 51.41 kB / 0.8358 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2042, allocations: 126.6 kB / 0.8359 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.2042, allocations: 29.69 kB / 0.836 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.2043, allocations: 92.09 kB / 0.836 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2043, allocations: 11.94 kB / 0.8361 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.2043, allocations: 13.72 kB / 0.8361 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2045, allocations: 318.8 kB / 0.8364 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2046, allocations: 43.95 kB / 0.8364 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.2047, allocations: 35.97 kB / 0.8364 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.205, allocations: 80.72 kB / 0.8365 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.205, allocations: 11.94 kB / 0.8365 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003191/0.2053, allocations: 109.6 kB / 0.8366 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2053, allocations: 4 kB / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2053, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2054, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2055, allocations: 16.31 kB / 0.8367 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2055, allocations: 0 / 0.8367 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.2056, allocations: 27.91 kB / 0.8367 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2056, allocations: 0 / 0.8367 GB, free: 4.371 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.083e-05/0.2057, allocations: 114.4 kB / 0.8368 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.2057, allocations: 7.953 kB / 0.8368 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.2061, allocations: 133.5 kB / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2061, allocations: 0 / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2061, allocations: 0 / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2061, allocations: 0 / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2063, allocations: 152.7 kB / 0.8371 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2063, allocations: 0 / 0.8371 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.2063, allocations: 11.98 kB / 0.8371 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2064, allocations: 7.938 kB / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2064, allocations: 0 / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2064, allocations: 0 / 0.8371 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2064, allocations: 4 kB / 0.8371 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.2067, allocations: 219.2 kB / 0.8373 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.2067, allocations: 4 kB / 0.8373 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.2068, allocations: 0 / 0.8373 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2069, allocations: 15.98 kB / 0.8373 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2069, allocations: 3.984 kB / 0.8373 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.2069, allocations: 4 kB / 0.8373 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.047e-05/0.207, allocations: 100.6 kB / 0.8374 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.207, allocations: 0 / 0.8374 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002193/0.2072, allocations: 8 kB / 0.8374 GB, free: 3.52 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.0007283/0.2079, allocations: 0.7397 MB / 0.8382 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.2083, allocations: 83.86 kB / 0.8382 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2083, allocations: 4 kB / 0.8382 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.2084, allocations: 39.95 kB / 0.8383 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.2087, allocations: 16.61 kB / 0.8383 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.2092, allocations: 188.8 kB / 0.8385 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.2095, allocations: 0.6924 MB / 0.8392 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.2095, allocations: 4 kB / 0.8392 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.2095, allocations: 15.44 kB / 0.8392 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.2095, allocations: 0 / 0.8392 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.2368, allocations: 2.007 MB / 0.8411 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.21, allocations: 12.23 kB / 0.8411 GB, free: 15.77 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.314278894104064] Failed to read output from testmodel.py, exit status != 0: 11.30748139298521 11.322835677 11.118695442 Calling exit ...