Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.114/1.114, allocations: 175.7 MB / 478.4 MB, free: 3.383 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 72.77 kB / 0.6652 GB, free: 11.15 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.193, allocations: 94.55 MB / 0.7575 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.003626/0.1966, allocations: 1.43 MB / 0.7589 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.1981, allocations: 0.8043 MB / 0.7597 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.1981, allocations: 4 kB / 0.7597 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.1981, allocations: 3.938 kB / 0.7597 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.1982, allocations: 3.938 kB / 0.7597 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.1986, allocations: 135.5 kB / 0.7599 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.1987, allocations: 31.92 kB / 0.7599 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.515e-05/0.1987, allocations: 4 kB / 0.7599 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.1988, allocations: 15.92 kB / 0.7599 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.1989, allocations: 19.97 kB / 0.7599 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1989, allocations: 4 kB / 0.7599 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.1993, allocations: 315.4 kB / 0.7602 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.1994, allocations: 11.92 kB / 0.7602 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.1994, allocations: 15.94 kB / 0.7603 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.1997, allocations: 199.4 kB / 0.7605 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1997, allocations: 3.938 kB / 0.7605 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1997, allocations: 0 / 0.7605 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1997, allocations: 4 kB / 0.7605 GB, free: 14.54 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005659/0.2003, allocations: 375 kB / 0.7608 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2003, allocations: 8.031 kB / 0.7608 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.2003, allocations: 30.75 kB / 0.7609 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.2008, allocations: 72.84 kB / 0.7609 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2009, allocations: 168.3 kB / 0.7611 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.201, allocations: 8.375 kB / 0.7611 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.201, allocations: 384 / 0.7611 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.2013, allocations: 85.75 kB / 0.7612 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2013, allocations: 0 / 0.7612 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2013, allocations: 0 / 0.7612 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2013, allocations: 4 kB / 0.7612 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.2017, allocations: 95.83 kB / 0.7613 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.2023, allocations: 288.9 kB / 0.7615 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.2026, allocations: 98.48 kB / 0.7616 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.2028, allocations: 56.88 kB / 0.7617 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.2029, allocations: 0 / 0.7617 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2029, allocations: 30.56 kB / 0.7617 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2029, allocations: 3.938 kB / 0.7617 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0007171/0.2036, allocations: 173.6 kB / 0.7619 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.2036, allocations: 51.41 kB / 0.7619 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.2037, allocations: 101.9 kB / 0.762 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2037, allocations: 25.7 kB / 0.7621 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.2038, allocations: 92.08 kB / 0.7621 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.2038, allocations: 11.89 kB / 0.7622 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.2039, allocations: 13.75 kB / 0.7622 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.204, allocations: 326.7 kB / 0.7625 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.2042, allocations: 43.94 kB / 0.7625 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.2044, allocations: 47.95 kB / 0.7626 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.2048, allocations: 92.77 kB / 0.7627 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2048, allocations: 0 / 0.7627 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000427/0.2052, allocations: 117.6 kB / 0.7628 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2052, allocations: 7.984 kB / 0.7628 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2052, allocations: 0 / 0.7628 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2052, allocations: 0 / 0.7628 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2054, allocations: 24.02 kB / 0.7628 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.2054, allocations: 7.984 kB / 0.7628 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.2055, allocations: 11.98 kB / 0.7628 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2056, allocations: 0 / 0.7628 GB, free: 11.88 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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 8.374e-05/0.2056, allocations: 113.8 kB / 0.7629 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.2057, allocations: 7.984 kB / 0.7629 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.2057, allocations: 11.12 kB / 0.763 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2057, allocations: 0 / 0.763 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2057, allocations: 0 / 0.763 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2057, allocations: 0 / 0.763 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.2059, allocations: 177.6 kB / 0.7631 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2059, allocations: 0 / 0.7631 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.206, allocations: 20.17 kB / 0.7631 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.206, allocations: 7.984 kB / 0.7631 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2061, allocations: 8 kB / 0.7632 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2061, allocations: 0 / 0.7632 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2061, allocations: 3.984 kB / 0.7632 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.2065, allocations: 223.3 kB / 0.7634 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.2066, allocations: 77.11 kB / 0.7634 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2066, allocations: 0 / 0.7634 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2068, allocations: 20.02 kB / 0.7635 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.2068, allocations: 3.984 kB / 0.7635 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2068, allocations: 4 kB / 0.7635 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.2068, allocations: 83.28 kB / 0.7636 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2068, allocations: 0 / 0.7636 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002433/0.2071, allocations: 19.86 kB / 0.7636 GB, free: 11.02 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0008646/0.208, allocations: 0.763 MB / 0.7643 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.2084, allocations: 95.92 kB / 0.7644 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2084, allocations: 0 / 0.7644 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.2086, allocations: 47.89 kB / 0.7645 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.2089, allocations: 8.125 kB / 0.7645 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.2096, allocations: 195 kB / 0.7646 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2099, allocations: 0.6768 MB / 0.7653 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.21, allocations: 11.98 kB / 0.7653 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.21, allocations: 19.42 kB / 0.7653 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.21, allocations: 0 / 0.7653 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.2347, allocations: 1.672 MB / 0.767 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.153, allocations: 2.188 kB / 0.767 GB, free: 7.52 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.117080859839916] Failed to read output from testmodel.py, exit status != 0: 8.222783093806356 8.246742329 8.04214445 Calling exit ...