Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001312/0.001312, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001473/0.001473, allocations: 211.3 kB / 22.99 MB, free: 4.977 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.004/1.004, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002134/0.002134, allocations: 71.03 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1967, allocations: 89.16 MB / 0.7282 GB, free: 1.055 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002832/0.1996, allocations: 1.497 MB / 0.7296 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003633/0.1999, allocations: 115.6 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.149e-05/0.2, allocations: 0 / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.513e-05/0.2, allocations: 3.984 kB / 0.7297 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.2001, allocations: 7.875 kB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.2003, allocations: 23.97 kB / 0.7298 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.2004, allocations: 43.84 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.705e-05/0.2005, allocations: 11.98 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.2005, allocations: 19.94 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.2006, allocations: 19.91 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.2006, allocations: 4 kB / 0.7299 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.2007, allocations: 23.98 kB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.2007, allocations: 15.92 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.2008, allocations: 11.94 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.2009, allocations: 60.02 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2009, allocations: 4 kB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2009, allocations: 0 / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.2009, allocations: 3.938 kB / 0.73 GB, free: 15.18 MB / 0.5606 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.000555/0.2015, allocations: 310 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2015, allocations: 8.031 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.2015, allocations: 34.69 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.2018, allocations: 28.86 kB / 0.7303 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2019, allocations: 118.4 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2019, allocations: 4.375 kB / 0.7304 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2019, allocations: 8.312 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.2022, allocations: 78.2 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2022, allocations: 3.938 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.2022, allocations: 4 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2022, allocations: 0 / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.2025, allocations: 79.91 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.203, allocations: 267.9 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.2032, allocations: 70.52 kB / 0.7309 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.2034, allocations: 44.91 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.2034, allocations: 0 / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.2034, allocations: 34.56 kB / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.2034, allocations: 0 / 0.731 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005588/0.204, allocations: 161.5 kB / 0.7312 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2041, allocations: 51.41 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2042, allocations: 128.8 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2042, allocations: 25.7 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.2043, allocations: 96.12 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2043, allocations: 11.91 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.2043, allocations: 21.7 kB / 0.7315 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2045, allocations: 318.8 kB / 0.7318 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2047, allocations: 35.95 kB / 0.7318 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.2048, allocations: 43.95 kB / 0.7319 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.2051, allocations: 88.7 kB / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2051, allocations: 3.938 kB / 0.732 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003539/0.2055, allocations: 109.6 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2055, allocations: 8 kB / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2055, allocations: 0 / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2055, allocations: 0 / 0.7321 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2057, allocations: 19.98 kB / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2057, allocations: 0 / 0.7321 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.609e-05/0.2058, allocations: 15.92 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.2058, allocations: 3.984 kB / 0.7321 GB, free: 12.8 MB / 0.5606 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.0001067/0.2059, allocations: 117.8 kB / 0.7322 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.2059, allocations: 7.953 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.206, allocations: 11.94 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.206, allocations: 3.938 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.206, allocations: 0 / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.206, allocations: 4 kB / 0.7322 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.2062, allocations: 152.7 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2062, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2063, allocations: 27.91 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2063, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.2063, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2063, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2063, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.2068, allocations: 215.7 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.2068, allocations: 3.953 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.2068, allocations: 4 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.2069, allocations: 15.97 kB / 0.7326 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.207, allocations: 8.031 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.207, allocations: 0 / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.589e-05/0.2071, allocations: 103.2 kB / 0.7328 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2071, allocations: 0 / 0.7328 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002269/0.2073, allocations: 8 kB / 0.7328 GB, free: 12.05 MB / 0.5606 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.0008715/0.2082, allocations: 0.746 MB / 0.7335 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.2086, allocations: 83.91 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2086, allocations: 4 kB / 0.7336 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.2088, allocations: 47.89 kB / 0.7336 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.209, allocations: 5.719 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.2097, allocations: 191 kB / 0.7338 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.116e-05/0.2098, allocations: 67.34 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.2098, allocations: 8 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.2099, allocations: 19.42 kB / 0.7339 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2099, allocations: 0 / 0.7339 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.2404, allocations: 2.41 MB / 0.7362 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.39, allocations: 11.69 kB / 0.7363 GB, free: 8.535 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.273643703199923] Failed to read output from testmodel.py, exit status != 0: 11.504063501954079 11.531842051 11.32574517 Calling exit ...