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.0008977/0.0008977, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001017/0.001017, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8864/0.8864, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001415/0.001415, allocations: 245.8 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6716/0.6716, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 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: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.818e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002004/0.002033, allocations: 1.514 MB / 0.6478 GB, free: 336 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002911/0.002324, allocations: 104.5 kB / 0.6479 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.002356, allocations: 0 / 0.6479 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.002396, allocations: 0 / 0.6479 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.002453, allocations: 11.88 kB / 0.6479 GB, free: 216 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.002667, allocations: 19.97 kB / 0.6479 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.00275, allocations: 47.84 kB / 0.648 GB, free: 148 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.002846, allocations: 7.938 kB / 0.648 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.517e-05/0.002901, allocations: 27.97 kB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.002943, allocations: 23.91 kB / 0.648 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.002961, allocations: 4 kB / 0.648 GB, free: 84 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.466e-05/0.003016, allocations: 15.98 kB / 0.648 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.003061, allocations: 4 kB / 0.648 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.003085, allocations: 23.92 kB / 0.6481 GB, free: 40 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.2364/0.2395, allocations: 56.73 kB / 0.6481 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.2395, allocations: 0.75 kB / 0.6481 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2395, allocations: 0 / 0.6481 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2395, allocations: 1 kB / 0.6481 GB, free: 55.96 MB / 0.5573 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.0004069/0.2399, allocations: 303.1 kB / 0.6484 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.24, allocations: 12.34 kB / 0.6484 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.24, allocations: 35.33 kB / 0.6484 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.24, allocations: 7.547 kB / 0.6485 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.118e-05/0.2401, allocations: 115.9 kB / 0.6486 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2401, allocations: 2.688 kB / 0.6486 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.2401, allocations: 2.656 kB / 0.6486 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.2403, allocations: 76.45 kB / 0.6486 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.2403, allocations: 0.9688 kB / 0.6486 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.2403, allocations: 1.875 kB / 0.6486 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2403, allocations: 5.438 kB / 0.6487 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.2405, allocations: 80.69 kB / 0.6487 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2408, allocations: 246.9 kB / 0.649 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2409, allocations: 69.97 kB / 0.649 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.241, allocations: 45 kB / 0.6491 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.2412, allocations: 36.5 kB / 0.6491 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2412, allocations: 33.31 kB / 0.6491 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.2412, allocations: 0.8125 kB / 0.6491 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003473/0.2416, allocations: 144.2 kB / 0.6493 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.2416, allocations: 53.19 kB / 0.6493 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.2417, allocations: 131.3 kB / 0.6495 GB, free: 55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.2417, allocations: 28.7 kB / 0.6495 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.2417, allocations: 95.14 kB / 0.6496 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.2417, allocations: 9.125 kB / 0.6496 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.2418, allocations: 16.05 kB / 0.6496 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.2418, allocations: 318.3 kB / 0.6499 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.2419, allocations: 37.39 kB / 0.6499 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.242, allocations: 39.75 kB / 0.65 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.2421, allocations: 82.88 kB / 0.6501 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2421, allocations: 0.9062 kB / 0.6501 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001944/0.2423, allocations: 116.9 kB / 0.6502 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2423, allocations: 5.812 kB / 0.6502 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2423, allocations: 0 / 0.6502 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2424, allocations: 3.547 kB / 0.6502 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.2425, allocations: 16.25 kB / 0.6502 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2425, allocations: 3.844 kB / 0.6502 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.2425, allocations: 11.48 kB / 0.6502 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2425, allocations: 1.281 kB / 0.6502 GB, free: 54.5 MB / 0.5573 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 5.493e-05/0.2426, allocations: 118.5 kB / 0.6503 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.2426, allocations: 12.34 kB / 0.6503 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.2429, allocations: 127.1 kB / 0.6505 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2429, allocations: 0.9062 kB / 0.6505 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2429, allocations: 0 / 0.6505 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2429, allocations: 2.5 kB / 0.6505 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.243, allocations: 143.5 kB / 0.6506 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.243, allocations: 2.75 kB / 0.6506 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.2431, allocations: 19.88 kB / 0.6506 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2431, allocations: 1.062 kB / 0.6506 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2431, allocations: 3.828 kB / 0.6506 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2431, allocations: 3.906 kB / 0.6506 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2431, allocations: 2.406 kB / 0.6506 GB, free: 54.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.2433, allocations: 205.3 kB / 0.6508 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.2433, allocations: 7.578 kB / 0.6508 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2433, allocations: 2.625 kB / 0.6508 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.657e-05/0.2434, allocations: 16.22 kB / 0.6508 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.2434, allocations: 5.172 kB / 0.6509 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2434, allocations: 1.188 kB / 0.6509 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.2435, allocations: 99.09 kB / 0.6509 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2435, allocations: 0.875 kB / 0.6509 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001612/0.2436, allocations: 11.16 kB / 0.651 GB, free: 53.97 MB / 0.5573 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.00036/0.244, allocations: 0.7447 MB / 0.6517 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.2442, allocations: 78.45 kB / 0.6518 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2442, allocations: 5.438 kB / 0.6518 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.084e-05/0.2443, allocations: 41.95 kB / 0.6518 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2445, allocations: 6.984 kB / 0.6518 GB, free: 53.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.2449, allocations: 187.4 kB / 0.652 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.245, allocations: 73.53 kB / 0.6521 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.245, allocations: 2.438 kB / 0.6521 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.2451, allocations: 19.34 kB / 0.6521 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.2451, allocations: 0 / 0.6521 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.2591, allocations: 2.593 MB / 0.6546 GB, free: 52.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.379/6.638, allocations: 11.14 kB / 0.6546 GB, free: 52.22 MB / 0.5573 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.292284836061299] Failed to read output from testmodel.py, exit status != 0: 6.71511509642005 6.726501603 6.483017911 Calling exit ...