Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.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.001766/0.001766, allocations: 105 kB / 20.48 MB, free: 1.488 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.002551/0.002551, allocations: 216 kB / 23.79 MB, free: 4.703 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.498/1.498, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9606/0.9606, allocations: 150 MB / 464 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.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="cs",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.002175/0.002175, allocations: 63.78 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1899, allocations: 89.17 MB / 0.7291 GB, free: 1.309 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002964/0.1929, allocations: 1.462 MB / 0.7305 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1944, allocations: 0.8411 MB / 0.7314 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.1945, allocations: 4 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.1945, allocations: 3.938 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.1945, allocations: 3.984 kB / 0.7314 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.195, allocations: 131.5 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.1951, allocations: 31.92 kB / 0.7315 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.841e-05/0.1952, allocations: 11.98 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.1952, allocations: 8 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.1953, allocations: 23.91 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1953, allocations: 4 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004943/0.1958, allocations: 311.4 kB / 0.7319 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.1958, allocations: 11.98 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1958, allocations: 11.94 kB / 0.7319 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.1962, allocations: 207.7 kB / 0.7321 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1962, allocations: 4 kB / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1962, allocations: 0 / 0.7321 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1962, allocations: 0 / 0.7321 GB, free: 14.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005515/0.1968, allocations: 301.8 kB / 0.7324 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1968, allocations: 8.031 kB / 0.7324 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.788e-05/0.1968, allocations: 4.125 kB / 0.7324 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.1968, allocations: 38.75 kB / 0.7324 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.1973, allocations: 68.78 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1974, allocations: 110.5 kB / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1975, allocations: 4.375 kB / 0.7326 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.1975, allocations: 4.375 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1978, allocations: 81.56 kB / 0.7327 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1978, allocations: 4 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1978, allocations: 0 / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1979, allocations: 0 / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.1983, allocations: 95.89 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.1989, allocations: 263.9 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.1994, allocations: 94.5 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.1996, allocations: 56.88 kB / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.1996, allocations: 0 / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1996, allocations: 34.55 kB / 0.7332 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1996, allocations: 0 / 0.7332 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0008146/0.2005, allocations: 169.6 kB / 0.7334 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2005, allocations: 51.41 kB / 0.7334 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.2006, allocations: 105.8 kB / 0.7335 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2006, allocations: 25.7 kB / 0.7336 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.2007, allocations: 84.09 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.2007, allocations: 15.97 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.2008, allocations: 17.7 kB / 0.7337 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2009, allocations: 318.8 kB / 0.734 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.2011, allocations: 47.95 kB / 0.734 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.2013, allocations: 43.95 kB / 0.7341 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.2018, allocations: 88.83 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2018, allocations: 4 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00049/0.2023, allocations: 125.5 kB / 0.7343 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2023, allocations: 8 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2023, allocations: 0 / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2023, allocations: 4.031 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.2025, allocations: 23.95 kB / 0.7343 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2025, allocations: 0 / 0.7343 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2026, allocations: 23.91 kB / 0.7343 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2026, allocations: 0 / 0.7343 GB, free: 11.76 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 (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 9.757e-05/0.2027, allocations: 121.8 kB / 0.7344 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.2028, allocations: 0 / 0.7344 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.2028, allocations: 3.312 kB / 0.7344 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2028, allocations: 0 / 0.7344 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2028, allocations: 4 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2028, allocations: 0 / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.203, allocations: 144.7 kB / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.203, allocations: 3.938 kB / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.2032, allocations: 23.97 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2032, allocations: 0 / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2032, allocations: 4 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.2032, allocations: 7.922 kB / 0.7346 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2032, allocations: 0 / 0.7346 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.2037, allocations: 223.3 kB / 0.7348 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.2038, allocations: 4 kB / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.2038, allocations: 256 / 0.7348 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2039, allocations: 28 kB / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.204, allocations: 0 / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.204, allocations: 7.984 kB / 0.7349 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.204, allocations: 79.28 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.204, allocations: 0 / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002537/0.2043, allocations: 12 kB / 0.735 GB, free: 11.04 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 (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.001053/0.2053, allocations: 0.7669 MB / 0.7357 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.2058, allocations: 87.94 kB / 0.7358 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.2059, allocations: 4 kB / 0.7358 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.2061, allocations: 48.02 kB / 0.7358 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.2065, allocations: 11.92 kB / 0.7359 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.2073, allocations: 203 kB / 0.736 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.2077, allocations: 0.6768 MB / 0.7367 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.94e-05/0.2078, allocations: 8 kB / 0.7367 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.2078, allocations: 15.44 kB / 0.7367 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.2078, allocations: 0 / 0.7367 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.231, allocations: 1.811 MB / 0.7385 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.39, allocations: 8 kB / 0.7385 GB, free: 7.469 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.274491687014233] Failed to read output from testmodel.py, exit status != 0: 11.5594592950074 11.581739232 11.381329487 Calling exit ...