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.0007082/0.0007082, 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.000737/0.000737, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8431/0.8431, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001411/0.001411, allocations: 234.7 kB / 259.4 MB, free: 13.02 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.661/0.661, allocations: 138.4 MB / 454.3 MB, free: 30.09 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 1.362e-06/1.362e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.939e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.001883/0.001902, allocations: 1.51 MB / 0.6478 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002569/0.002159, allocations: 104.5 kB / 0.6479 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.002193, allocations: 0 / 0.6479 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.002235, allocations: 4 kB / 0.6479 GB, free: 272 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.002293, allocations: 15.86 kB / 0.6479 GB, free: 256 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.002502, allocations: 15.98 kB / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.744e-05/0.002589, allocations: 47.84 kB / 0.648 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.71e-05/0.002676, allocations: 8 kB / 0.648 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.002731, allocations: 31.89 kB / 0.648 GB, free: 152 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.002768, allocations: 15.92 kB / 0.648 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.002785, allocations: 4 kB / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.256e-05/0.002837, allocations: 15.98 kB / 0.648 GB, free: 116 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.002882, allocations: 15.92 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.0029, allocations: 8 kB / 0.648 GB, free: 92 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003011, allocations: 63.78 kB / 0.6481 GB, free: 28 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003013, allocations: 4 kB / 0.6481 GB, free: 24 kB / 0.5573 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003014, allocations: 0 / 0.6481 GB, free: 24 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003018, allocations: 0 / 0.6481 GB, free: 24 kB / 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.2287/0.2318, allocations: 305.4 kB / 0.6484 GB, free: 57.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2318, allocations: 12.41 kB / 0.6484 GB, free: 57.19 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.247e-05/0.2318, allocations: 31.69 kB / 0.6484 GB, free: 57.15 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.2318, allocations: 7.359 kB / 0.6485 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.214e-05/0.2319, allocations: 112.3 kB / 0.6486 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2319, allocations: 4.125 kB / 0.6486 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.2319, allocations: 3.812 kB / 0.6486 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.2321, allocations: 75.08 kB / 0.6486 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2321, allocations: 0.7188 kB / 0.6486 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2321, allocations: 2.5 kB / 0.6486 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2321, allocations: 4.781 kB / 0.6486 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.2323, allocations: 78.22 kB / 0.6487 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.2326, allocations: 250 kB / 0.649 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.2327, allocations: 67.89 kB / 0.649 GB, free: 56.72 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.2328, allocations: 47.55 kB / 0.6491 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.233, allocations: 34.52 kB / 0.6491 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.233, allocations: 35.91 kB / 0.6491 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.233, allocations: 0 / 0.6491 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000332/0.2333, allocations: 149.9 kB / 0.6493 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.2333, allocations: 52.94 kB / 0.6493 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.2334, allocations: 128.2 kB / 0.6495 GB, free: 56.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.982e-06/0.2334, allocations: 27.36 kB / 0.6495 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.2335, allocations: 95.48 kB / 0.6496 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.2335, allocations: 11.42 kB / 0.6496 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.2335, allocations: 15.91 kB / 0.6496 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.2335, allocations: 319.7 kB / 0.6499 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.2336, allocations: 38.02 kB / 0.6499 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.2337, allocations: 40.19 kB / 0.65 GB, free: 56.03 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2338, allocations: 78.19 kB / 0.65 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2339, allocations: 0.75 kB / 0.65 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000182/0.234, allocations: 125.2 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.234, allocations: 5.156 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2341, allocations: 0.7812 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2341, allocations: 0.8438 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.2341, allocations: 15.44 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2342, allocations: 1.281 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.2342, allocations: 13.3 kB / 0.6502 GB, free: 55.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2342, allocations: 0.8125 kB / 0.6502 GB, free: 55.98 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 4.692e-05/0.2342, allocations: 118.8 kB / 0.6503 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.2343, allocations: 16.58 kB / 0.6503 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.2345, allocations: 115.7 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2345, allocations: 4.531 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2345, allocations: 0.8125 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2345, allocations: 0.6562 kB / 0.6504 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.383e-05/0.2346, allocations: 144 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2346, allocations: 4.062 kB / 0.6506 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.2346, allocations: 19.91 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2346, allocations: 1.797 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.2346, allocations: 0 / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2346, allocations: 1.094 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2346, allocations: 1.109 kB / 0.6506 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.2348, allocations: 207.2 kB / 0.6508 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.2348, allocations: 7.812 kB / 0.6508 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.2348, allocations: 0.8438 kB / 0.6508 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.2349, allocations: 15.95 kB / 0.6508 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.2349, allocations: 6.172 kB / 0.6508 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.2349, allocations: 6.031 kB / 0.6508 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.008e-05/0.2349, allocations: 99.44 kB / 0.6509 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2349, allocations: 0.7812 kB / 0.6509 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001501/0.2351, allocations: 14.03 kB / 0.651 GB, free: 55.45 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.0003222/0.2354, allocations: 0.745 MB / 0.6517 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2356, allocations: 83.05 kB / 0.6518 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.2356, allocations: 0 / 0.6518 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.2357, allocations: 44.59 kB / 0.6518 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2359, allocations: 8.844 kB / 0.6518 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.2362, allocations: 178.4 kB / 0.652 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.2363, allocations: 76.62 kB / 0.6521 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.2363, allocations: 2.719 kB / 0.6521 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.2363, allocations: 21.52 kB / 0.6521 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/0.2363, allocations: 1.406 kB / 0.6521 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.2501, allocations: 2.588 MB / 0.6546 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.406/6.656, allocations: 4.766 kB / 0.6546 GB, free: 53.71 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 & /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: 9.128537529148161] Failed to read output from testmodel.py, exit status != 0: 6.733774007298052 6.740735662 6.735953934 Calling exit ...