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.001847/0.001847, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.002166/0.002166, allocations: 215 kB / 20.13 MB, free: 2.949 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002361/0.002361, allocations: 284.9 kB / 309.8 MB, free: 3.508 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.093/1.093, allocations: 180.6 MB / 0.5338 GB, free: 12.42 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.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",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.003208/0.003208, allocations: 103.9 kB / 0.7347 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6574, allocations: 95.33 MB / 0.8278 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002505/0.6599, allocations: 1.52 MB / 0.8293 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.6603, allocations: 116 kB / 0.8294 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.6603, allocations: 0 / 0.8294 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.923e-05/0.6604, allocations: 5.391 kB / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.6604, allocations: 15.25 kB / 0.8294 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.6606, allocations: 23.95 kB / 0.8294 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.042e-05/0.6607, allocations: 44.73 kB / 0.8295 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.6608, allocations: 4.453 kB / 0.8295 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.6609, allocations: 20.56 kB / 0.8295 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.6609, allocations: 21.44 kB / 0.8295 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.6609, allocations: 2.625 kB / 0.8295 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.661, allocations: 24.48 kB / 0.8295 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.661, allocations: 18.97 kB / 0.8295 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.661, allocations: 25.19 kB / 0.8296 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.6612, allocations: 58.58 kB / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6612, allocations: 0 / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6612, allocations: 0 / 0.8296 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.6612, allocations: 2.656 kB / 0.8296 GB, free: 1.793 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.0005101/0.6617, allocations: 375.7 kB / 0.83 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6617, allocations: 13.12 kB / 0.83 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.6618, allocations: 2.203 kB / 0.83 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.115e-05/0.6618, allocations: 35.81 kB / 0.83 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.6618, allocations: 8.031 kB / 0.83 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.962e-05/0.6619, allocations: 179.4 kB / 0.8302 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.6619, allocations: 384 / 0.8302 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.6619, allocations: 3 kB / 0.8302 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.6622, allocations: 86.2 kB / 0.8303 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6622, allocations: 0 / 0.8303 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6622, allocations: 0 / 0.8303 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6622, allocations: 0.6562 kB / 0.8303 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003055/0.6625, allocations: 77.27 kB / 0.8304 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.6628, allocations: 283.5 kB / 0.8306 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.663, allocations: 70.27 kB / 0.8307 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.6632, allocations: 48.94 kB / 0.8308 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.6634, allocations: 115.3 kB / 0.8309 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.6634, allocations: 33.19 kB / 0.8309 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.6634, allocations: 0 / 0.8309 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005795/0.664, allocations: 139.4 kB / 0.831 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.6641, allocations: 59.41 kB / 0.8311 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.6641, allocations: 124.4 kB / 0.8312 GB, free: 400 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.6641, allocations: 25.7 kB / 0.8312 GB, free: 368 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.328e-05/0.6642, allocations: 98.45 kB / 0.8313 GB, free: 272 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.6642, allocations: 8.594 kB / 0.8313 GB, free: 264 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.6642, allocations: 13.02 kB / 0.8313 GB, free: 248 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6643, allocations: 329 kB / 0.8317 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.6645, allocations: 39.83 kB / 0.8317 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.6646, allocations: 35.36 kB / 0.8317 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.6649, allocations: 77.48 kB / 0.8318 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6649, allocations: 0 / 0.8318 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003544/0.6653, allocations: 114.2 kB / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6653, allocations: 8.656 kB / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6653, allocations: 0 / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6653, allocations: 0 / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.6654, allocations: 16.73 kB / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.6654, allocations: 3.938 kB / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.6655, allocations: 14.78 kB / 0.832 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.6655, allocations: 5.25 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.0001391/0.6657, allocations: 120.5 kB / 0.8321 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.6657, allocations: 7.031 kB / 0.8321 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.6661, allocations: 114.5 kB / 0.8322 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.6661, allocations: 0 / 0.8322 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6661, allocations: 4 kB / 0.8322 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6661, allocations: 3.312 kB / 0.8322 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.6663, allocations: 181.1 kB / 0.8324 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6663, allocations: 3.312 kB / 0.8324 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.667e-05/0.6664, allocations: 15.91 kB / 0.8324 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6664, allocations: 0 / 0.8324 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.6664, allocations: 0 / 0.8324 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6664, allocations: 3.938 kB / 0.8324 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.6664, allocations: 4.594 kB / 0.8324 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.6668, allocations: 213.8 kB / 0.8326 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.6669, allocations: 81.75 kB / 0.8327 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.6669, allocations: 2.906 kB / 0.8327 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.667, allocations: 10.14 kB / 0.8327 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.6671, allocations: 12.41 kB / 0.8327 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.6671, allocations: 0.7031 kB / 0.8327 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.6671, allocations: 98.8 kB / 0.8328 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6671, allocations: 0 / 0.8328 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002264/0.6674, allocations: 10.25 kB / 0.8328 GB, free: 15.1 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.0007911/0.6681, allocations: 0.753 MB / 0.8335 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000364/0.6685, allocations: 76.3 kB / 0.8336 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6685, allocations: 0 / 0.8336 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.6687, allocations: 52.84 kB / 0.8337 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.6689, allocations: 9.016 kB / 0.8337 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.6694, allocations: 181.8 kB / 0.8339 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.6698, allocations: 0.6869 MB / 0.8345 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.6698, allocations: 3.547 kB / 0.8345 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.6698, allocations: 20.89 kB / 0.8345 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.6698, allocations: 0 / 0.8345 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.688, allocations: 1.955 MB / 0.8365 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.736, allocations: 9.062 kB / 0.8365 GB, free: 13.07 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.89195447700331] Failed to read output from testmodel.py, exit status != 0: 8.862317344988696 8.88582903 8.220202295 Calling exit ...