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.001329/0.001329, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.001394/0.001394, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.002441/0.002441, allocations: 280.9 kB / 309.8 MB, free: 3.484 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.094/1.094, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 178] 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.004775/0.004775, allocations: 105.4 kB / 0.7347 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6691, allocations: 95.34 MB / 0.8278 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.003333/0.6724, allocations: 1.526 MB / 0.8293 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003507/0.6728, allocations: 102.6 kB / 0.8294 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.6728, allocations: 0 / 0.8294 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.809e-05/0.6729, allocations: 4.594 kB / 0.8294 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.673, allocations: 16.58 kB / 0.8294 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.6732, allocations: 23.45 kB / 0.8294 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.6733, allocations: 53.59 kB / 0.8295 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.6734, allocations: 6.281 kB / 0.8295 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.6735, allocations: 14.28 kB / 0.8295 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.6735, allocations: 24.7 kB / 0.8295 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.6736, allocations: 3.719 kB / 0.8295 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.6737, allocations: 18.59 kB / 0.8295 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.6737, allocations: 14.02 kB / 0.8295 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.6737, allocations: 23.7 kB / 0.8296 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.6739, allocations: 55.11 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6739, allocations: 0 / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6739, allocations: 3 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6739, allocations: 8.734 kB / 0.8296 GB, free: 1.781 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.0005805/0.6745, allocations: 376.3 kB / 0.83 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6745, allocations: 8.984 kB / 0.83 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.484e-05/0.6746, allocations: 4.188 kB / 0.83 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/0.6746, allocations: 32.81 kB / 0.83 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.6746, allocations: 7.609 kB / 0.83 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.733e-05/0.6747, allocations: 178.1 kB / 0.8302 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.6747, allocations: 5.688 kB / 0.8302 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.6747, allocations: 2.938 kB / 0.8302 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.6751, allocations: 78.52 kB / 0.8303 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6751, allocations: 0 / 0.8303 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.6751, allocations: 7.938 kB / 0.8303 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6751, allocations: 0.7031 kB / 0.8303 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.6755, allocations: 76.39 kB / 0.8304 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.6759, allocations: 291.7 kB / 0.8307 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.6762, allocations: 66.16 kB / 0.8307 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.6764, allocations: 46.58 kB / 0.8308 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.6767, allocations: 106.1 kB / 0.8309 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.6767, allocations: 31.27 kB / 0.8309 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/0.6767, allocations: 0 / 0.8309 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0008517/0.6776, allocations: 151.4 kB / 0.831 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.6776, allocations: 52.02 kB / 0.8311 GB, free: 500 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6777, allocations: 126.6 kB / 0.8312 GB, free: 392 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.6777, allocations: 27.02 kB / 0.8312 GB, free: 360 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.6778, allocations: 96.38 kB / 0.8313 GB, free: 264 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.6778, allocations: 10.22 kB / 0.8313 GB, free: 256 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.6778, allocations: 19.55 kB / 0.8313 GB, free: 236 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6779, allocations: 320.7 kB / 0.8317 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.6782, allocations: 36.41 kB / 0.8317 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.6784, allocations: 34.89 kB / 0.8317 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.6788, allocations: 80.55 kB / 0.8318 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6788, allocations: 0 / 0.8318 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004423/0.6793, allocations: 116.4 kB / 0.8319 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6793, allocations: 6.359 kB / 0.8319 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6793, allocations: 0 / 0.8319 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6793, allocations: 4 kB / 0.8319 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.6794, allocations: 16.67 kB / 0.8319 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.6794, allocations: 0 / 0.8319 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.6796, allocations: 13.16 kB / 0.8319 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6796, allocations: 0.5625 kB / 0.832 GB, free: 15.83 MB / 0.5919 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 0.0001193/0.6797, allocations: 117.9 kB / 0.8321 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.6797, allocations: 11.2 kB / 0.8321 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.6803, allocations: 125 kB / 0.8322 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.6803, allocations: 3.938 kB / 0.8322 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6803, allocations: 4.797 kB / 0.8322 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6803, allocations: 0 / 0.8322 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.6806, allocations: 183.9 kB / 0.8324 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.6806, allocations: 4.547 kB / 0.8324 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.6808, allocations: 20.03 kB / 0.8324 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.6808, allocations: 0 / 0.8324 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.6808, allocations: 1.094 kB / 0.8324 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.6808, allocations: 0 / 0.8324 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6808, allocations: 1.859 kB / 0.8324 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.6814, allocations: 211.6 kB / 0.8326 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.6815, allocations: 80.95 kB / 0.8327 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.6815, allocations: 0 / 0.8327 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.6817, allocations: 12.22 kB / 0.8327 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.6817, allocations: 7.922 kB / 0.8327 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.6818, allocations: 0.5625 kB / 0.8327 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.44e-05/0.6818, allocations: 100.5 kB / 0.8328 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6818, allocations: 0 / 0.8328 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004046/0.6823, allocations: 19.02 kB / 0.8328 GB, free: 15.08 MB / 0.5919 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.001011/0.6833, allocations: 0.7392 MB / 0.8335 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000487/0.6837, allocations: 80.2 kB / 0.8336 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6838, allocations: 0 / 0.8336 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.684, allocations: 46.52 kB / 0.8337 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.6844, allocations: 4.859 kB / 0.8337 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.6852, allocations: 189.9 kB / 0.8338 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.6855, allocations: 0.6871 MB / 0.8345 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.021e-05/0.6856, allocations: 3.156 kB / 0.8345 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.6856, allocations: 17.36 kB / 0.8345 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.6856, allocations: 0 / 0.8345 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.7079, allocations: 1.946 MB / 0.8364 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.833, allocations: 8.859 kB / 0.8364 GB, free: 13.07 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.97823793697171] Failed to read output from testmodel.py, exit status != 0: 8.961476510972716 8.978767112 8.301537372 Calling exit ...