Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.0007412/0.0007412, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007638/0.0007638, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8721/0.8721, 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.00137/0.00137, allocations: 237.3 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.6605/0.6605, allocations: 138.4 MB / 454.3 MB, free: 1.59 MB / 362.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.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",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: 29.06 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.06e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001667/0.001688, allocations: 1.508 MB / 0.6478 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002485/0.001937, allocations: 101.9 kB / 0.6479 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.001969, allocations: 0 / 0.6479 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.002012, allocations: 9.266 kB / 0.6479 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.545e-05/0.002067, allocations: 17.42 kB / 0.6479 GB, free: 27.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.002268, allocations: 22.34 kB / 0.6479 GB, free: 27.76 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.002339, allocations: 41.23 kB / 0.648 GB, free: 27.74 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.002428, allocations: 11.55 kB / 0.648 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.002484, allocations: 24.3 kB / 0.648 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.002524, allocations: 12.45 kB / 0.648 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.002541, allocations: 3.906 kB / 0.648 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-05/0.002602, allocations: 23.97 kB / 0.648 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.002648, allocations: 19.98 kB / 0.6481 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.002668, allocations: 12.27 kB / 0.6481 GB, free: 27.67 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.002793, allocations: 65 kB / 0.6481 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.002796, allocations: 5.281 kB / 0.6481 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.172e-06/0.002797, allocations: 0 / 0.6481 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.0028, allocations: 0 / 0.6481 GB, free: 27.62 MB / 0.5105 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.0003225/0.003123, allocations: 294.2 kB / 0.6484 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.003164, allocations: 9.656 kB / 0.6484 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.178e-05/0.003186, allocations: 36.12 kB / 0.6485 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.003207, allocations: 11.22 kB / 0.6485 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.79e-05/0.003265, allocations: 114.8 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.003275, allocations: 1.812 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.003283, allocations: 5.625 kB / 0.6486 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.003442, allocations: 76.72 kB / 0.6487 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.003448, allocations: 192 / 0.6487 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.003457, allocations: 8.359 kB / 0.6487 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.003463, allocations: 5.219 kB / 0.6487 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.003606, allocations: 79.39 kB / 0.6488 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.003877, allocations: 244.8 kB / 0.649 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.004001, allocations: 64 kB / 0.649 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.004079, allocations: 47.55 kB / 0.6491 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.004242, allocations: 37.56 kB / 0.6491 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.00426, allocations: 40.39 kB / 0.6492 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004261, allocations: 0 / 0.6492 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003311/0.004592, allocations: 138.6 kB / 0.6493 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.004621, allocations: 52.72 kB / 0.6493 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.004696, allocations: 127.1 kB / 0.6495 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.004703, allocations: 33.7 kB / 0.6495 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.004735, allocations: 91.41 kB / 0.6496 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.004751, allocations: 12.86 kB / 0.6496 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.004775, allocations: 12.44 kB / 0.6496 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.004812, allocations: 321.6 kB / 0.6499 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-05/0.004886, allocations: 41.83 kB / 0.65 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.004951, allocations: 33.16 kB / 0.65 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.005086, allocations: 79.09 kB / 0.6501 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005088, allocations: 0 / 0.6501 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001599/0.005248, allocations: 118.4 kB / 0.6502 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.00526, allocations: 7.625 kB / 0.6502 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005265, allocations: 4 kB / 0.6502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.005275, allocations: 0 / 0.6502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.005344, allocations: 19.11 kB / 0.6502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.005349, allocations: 0 / 0.6502 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.005384, allocations: 19.19 kB / 0.6502 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.00539, allocations: 1.5 kB / 0.6502 GB, free: 25.75 MB / 0.5105 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 3.767e-05/0.005428, allocations: 113.9 kB / 0.6503 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.005441, allocations: 14.69 kB / 0.6504 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.005631, allocations: 122.4 kB / 0.6505 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.005632, allocations: 0 / 0.6505 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.005636, allocations: 1.062 kB / 0.6505 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005638, allocations: 0 / 0.6505 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/0.005724, allocations: 139.7 kB / 0.6506 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005725, allocations: 0 / 0.6506 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.005765, allocations: 22.5 kB / 0.6506 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005766, allocations: 5.062 kB / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005772, allocations: 0 / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005773, allocations: 1.375 kB / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005774, allocations: 3.938 kB / 0.6506 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.005939, allocations: 209 kB / 0.6508 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.005946, allocations: 6.562 kB / 0.6508 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.005957, allocations: 5.281 kB / 0.6508 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.913e-05/0.006006, allocations: 14.73 kB / 0.6509 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.006042, allocations: 9.328 kB / 0.6509 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.006045, allocations: 1.344 kB / 0.6509 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.006078, allocations: 100.3 kB / 0.651 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.006078, allocations: 0 / 0.651 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001546/0.006232, allocations: 13.47 kB / 0.651 GB, free: 25.07 MB / 0.5105 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.0003088/0.006541, allocations: 0.7476 MB / 0.6517 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.006723, allocations: 78.41 kB / 0.6518 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006724, allocations: 0 / 0.6518 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.116e-05/0.006795, allocations: 41.52 kB / 0.6518 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.006972, allocations: 8.266 kB / 0.6518 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.007285, allocations: 193 kB / 0.652 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.00732, allocations: 70.28 kB / 0.6521 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.949e-05/0.00734, allocations: 6.172 kB / 0.6521 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.007371, allocations: 18.78 kB / 0.6521 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.007372, allocations: 0 / 0.6521 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01407/0.02144, allocations: 2.6 MB / 0.6546 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.296/6.317, allocations: 11.39 kB / 0.6547 GB, free: 22.43 MB / 0.5105 GB " [Timeout remaining time 654] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.966635620221496] Failed to read output from testmodel.py, exit status != 0: 6.3926469050347805 6.400171101 6.3956419460000005 Calling exit ...