Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001401/0.001401, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002223/0.002223, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8449/0.8449, allocations: 134 MB / 446.4 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002052/0.002052, allocations: 66.3 kB / 0.6186 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.192, allocations: 85.91 MB / 0.7024 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.QuadraticLinear): time 0.003087/0.1951, allocations: 1.506 MB / 0.7039 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003851/0.1954, allocations: 112.6 kB / 0.704 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.1955, allocations: 4 kB / 0.704 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.404e-05/0.1955, allocations: 3.938 kB / 0.704 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.1956, allocations: 11.88 kB / 0.704 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.1959, allocations: 35.83 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.196, allocations: 39.91 kB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1961, allocations: 8 kB / 0.7041 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.1962, allocations: 15.92 kB / 0.7041 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.421e-05/0.1962, allocations: 23.92 kB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1962, allocations: 4 kB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.1963, allocations: 19.98 kB / 0.7042 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.628e-05/0.1964, allocations: 15.92 kB / 0.7042 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.1964, allocations: 23.86 kB / 0.7042 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1966, allocations: 63.95 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1966, allocations: 4 kB / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1966, allocations: 0 / 0.7043 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.1966, allocations: 0 / 0.7043 GB, free: 15.48 MB / 0.5294 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.00063/0.1972, allocations: 302 kB / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.1973, allocations: 12.03 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1973, allocations: 34.75 kB / 0.7046 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.1974, allocations: 12.89 kB / 0.7046 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1975, allocations: 114.4 kB / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1975, allocations: 4.375 kB / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1976, allocations: 384 / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.1978, allocations: 78.2 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1979, allocations: 3.938 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1979, allocations: 0 / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1979, allocations: 3.938 kB / 0.7048 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.1982, allocations: 79.92 kB / 0.7049 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.1986, allocations: 256 kB / 0.7051 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.1988, allocations: 62.53 kB / 0.7052 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.199, allocations: 48.92 kB / 0.7053 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.1992, allocations: 31.97 kB / 0.7053 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.1993, allocations: 34.5 kB / 0.7053 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1993, allocations: 0 / 0.7053 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005581/0.1998, allocations: 149.5 kB / 0.7055 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1999, allocations: 51.41 kB / 0.7055 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.2, allocations: 129.3 kB / 0.7056 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2, allocations: 25.7 kB / 0.7057 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.2001, allocations: 96.12 kB / 0.7057 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.2001, allocations: 11.84 kB / 0.7058 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.2002, allocations: 17.72 kB / 0.7058 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2003, allocations: 318.8 kB / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.2005, allocations: 35.97 kB / 0.7061 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2006, allocations: 44.06 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.2009, allocations: 88.72 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2009, allocations: 3.938 kB / 0.7062 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.2012, allocations: 113.5 kB / 0.7064 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2012, allocations: 4 kB / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2012, allocations: 0 / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2012, allocations: 8 kB / 0.7064 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2014, allocations: 11.98 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2014, allocations: 0 / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.499e-05/0.2014, allocations: 11.98 kB / 0.7064 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2015, allocations: 0 / 0.7064 GB, free: 13.13 MB / 0.5294 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.0001145/0.2016, allocations: 125.7 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.2016, allocations: 4 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.202, allocations: 121.6 kB / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.202, allocations: 0 / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.202, allocations: 0 / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.202, allocations: 0 / 0.7066 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2022, allocations: 156.7 kB / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.2022, allocations: 4 kB / 0.7068 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.213e-05/0.2023, allocations: 19.97 kB / 0.7068 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2023, allocations: 4 kB / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2023, allocations: 0 / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2023, allocations: 0 / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2023, allocations: 0 / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.2027, allocations: 211.3 kB / 0.707 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.2027, allocations: 7.953 kB / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2027, allocations: 0 / 0.707 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.2028, allocations: 11.98 kB / 0.707 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.2028, allocations: 7.984 kB / 0.707 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.2029, allocations: 4 kB / 0.707 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.149e-05/0.2029, allocations: 95.27 kB / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2029, allocations: 0 / 0.7071 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002269/0.2031, allocations: 8 kB / 0.7071 GB, free: 12.29 MB / 0.5294 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.0007472/0.2039, allocations: 0.7513 MB / 0.7079 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.2042, allocations: 80.19 kB / 0.7079 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2042, allocations: 0 / 0.7079 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.2044, allocations: 35.97 kB / 0.708 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2046, allocations: 15.92 kB / 0.708 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.2052, allocations: 200 kB / 0.7082 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2055, allocations: 0.6962 MB / 0.7089 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.918e-05/0.2056, allocations: 3.984 kB / 0.7089 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.2056, allocations: 19.42 kB / 0.7089 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.2056, allocations: 0 / 0.7089 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.2354, allocations: 2.004 MB / 0.7108 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.11, allocations: 6.844 kB / 0.7109 GB, free: 8.527 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_QuadraticLinear.fmu > IDEAS_IDEAS.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.778289061971009] Failed to read output from testmodel.py, exit status != 0: 11.21867082407698 11.243891605 11.044039064 Calling exit ...