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.001308/0.001308, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001516/0.001516, allocations: 219.7 kB / 23 MB, free: 5.004 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.984 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 0.978/0.978, allocations: 150 MB / 463.2 MB, free: 10.54 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.002079/0.002079, allocations: 62 kB / 0.6413 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.188, allocations: 89.17 MB / 0.7283 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.003071/0.191, allocations: 1.514 MB / 0.7298 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003504/0.1914, allocations: 111.6 kB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.1914, allocations: 0 / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.1915, allocations: 0 / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.11e-05/0.1915, allocations: 15.81 kB / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1918, allocations: 19.97 kB / 0.73 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1919, allocations: 55.78 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.062e-05/0.192, allocations: 4 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.991e-05/0.192, allocations: 15.98 kB / 0.73 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.1921, allocations: 27.84 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1921, allocations: 4 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.803e-05/0.1922, allocations: 27.97 kB / 0.7301 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1922, allocations: 8 kB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.1923, allocations: 23.86 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.1924, allocations: 60.02 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1924, allocations: 4 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1924, allocations: 4 kB / 0.7302 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.1924, allocations: 0 / 0.7302 GB, free: 15.41 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.0005746/0.193, allocations: 310 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.193, allocations: 8.031 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1931, allocations: 30.75 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.1933, allocations: 28.86 kB / 0.7306 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1935, allocations: 126.3 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1935, allocations: 12.38 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1935, allocations: 384 / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.1937, allocations: 78.14 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1938, allocations: 3.938 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1938, allocations: 0 / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1938, allocations: 4 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.1941, allocations: 83.84 kB / 0.7308 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.1946, allocations: 272 kB / 0.7311 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.1948, allocations: 66.53 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1949, allocations: 48.91 kB / 0.7312 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.195, allocations: 0 / 0.7312 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.195, allocations: 30.56 kB / 0.7312 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.195, allocations: 0 / 0.7312 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005428/0.1955, allocations: 165.5 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1956, allocations: 51.41 kB / 0.7315 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1957, allocations: 125.8 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1957, allocations: 25.7 kB / 0.7316 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.1958, allocations: 96.12 kB / 0.7317 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1958, allocations: 11.84 kB / 0.7317 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.1958, allocations: 21.72 kB / 0.7317 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.196, allocations: 314.8 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1961, allocations: 39.95 kB / 0.7321 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1963, allocations: 35.97 kB / 0.7321 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.1966, allocations: 96.58 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1966, allocations: 4 kB / 0.7322 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003203/0.1969, allocations: 113.9 kB / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1969, allocations: 4 kB / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1969, allocations: 0 / 0.7323 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1969, allocations: 4.031 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.1971, allocations: 23.97 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1971, allocations: 0 / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.1972, allocations: 11.98 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1972, allocations: 0 / 0.7323 GB, free: 13.02 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 9.939e-05/0.1973, allocations: 119.8 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.1973, allocations: 7.953 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.1973, allocations: 11.98 kB / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1973, allocations: 7.938 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1973, allocations: 4 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1973, allocations: 0 / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1975, allocations: 152.7 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1975, allocations: 3.938 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.1976, allocations: 19.97 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1976, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1976, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.1977, allocations: 4 kB / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1977, allocations: 0 / 0.7327 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004124/0.1981, allocations: 219.4 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.1981, allocations: 3.953 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1981, allocations: 0 / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1982, allocations: 15.97 kB / 0.7329 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1982, allocations: 8 kB / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1983, allocations: 0 / 0.7329 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.79e-05/0.1983, allocations: 103.2 kB / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1983, allocations: 0 / 0.733 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002177/0.1985, allocations: 8 kB / 0.733 GB, free: 12.27 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.0007113/0.1993, allocations: 0.7474 MB / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.1996, allocations: 79.91 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1996, allocations: 0 / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.1997, allocations: 55.89 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.2, allocations: 0 / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.2005, allocations: 202.9 kB / 0.7341 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.2008, allocations: 0.6807 MB / 0.7347 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.208e-05/0.2009, allocations: 8 kB / 0.7347 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.2009, allocations: 19.42 kB / 0.7347 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2009, allocations: 0 / 0.7347 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.2305, allocations: 1.961 MB / 0.7367 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 11.02 kB / 0.7367 GB, free: 8.57 MB / 0.5606 GB " [Timeout remaining time 649] (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.005862205056474] Failed to read output from testmodel.py, exit status != 0: 11.396070696879178 11.412062223 11.216475333 Calling exit ...