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.001422/0.001422, 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.001531/0.001531, allocations: 221 kB / 23.01 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9918/0.9918, 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.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",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.002855/0.002855, allocations: 60.44 kB / 0.6413 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2046, allocations: 89.18 MB / 0.7284 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003903/0.2085, allocations: 1.46 MB / 0.7298 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.2103, allocations: 0.845 MB / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.2103, allocations: 0 / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.2104, allocations: 3.938 kB / 0.7306 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.157e-05/0.2104, allocations: 11.92 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.211, allocations: 123.5 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.287e-05/0.2111, allocations: 35.91 kB / 0.7308 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2112, allocations: 8 kB / 0.7308 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.2113, allocations: 15.92 kB / 0.7308 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.2114, allocations: 19.98 kB / 0.7308 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2114, allocations: 4 kB / 0.7308 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.2119, allocations: 311.4 kB / 0.7311 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.2119, allocations: 15.92 kB / 0.7311 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.2119, allocations: 7.984 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.2123, allocations: 207.7 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2123, allocations: 4 kB / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2123, allocations: 0 / 0.7313 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2124, allocations: 0 / 0.7313 GB, free: 14.28 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.0006535/0.213, allocations: 309.8 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2131, allocations: 8.031 kB / 0.7316 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.2131, allocations: 34.75 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005111/0.2136, allocations: 64.84 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.2138, allocations: 110.5 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.2138, allocations: 384 / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.2138, allocations: 4.375 kB / 0.7318 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.2141, allocations: 85.75 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.2142, allocations: 0 / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2142, allocations: 4 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2142, allocations: 0 / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.2146, allocations: 99.83 kB / 0.732 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.2153, allocations: 263.9 kB / 0.7323 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.2156, allocations: 94.5 kB / 0.7324 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.2159, allocations: 52.86 kB / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.2159, allocations: 0 / 0.7324 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.2159, allocations: 34.56 kB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2159, allocations: 0 / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007319/0.2167, allocations: 165.5 kB / 0.7326 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.2167, allocations: 55.39 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.2168, allocations: 101.9 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2168, allocations: 29.83 kB / 0.7328 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.2169, allocations: 84.09 kB / 0.7329 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.2169, allocations: 11.92 kB / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.217, allocations: 17.72 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2171, allocations: 318.8 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.2173, allocations: 47.95 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.2175, allocations: 48.19 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.2179, allocations: 92.77 kB / 0.7334 GB, free: 12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.2179, allocations: 4 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004689/0.2184, allocations: 125.5 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.2184, allocations: 4 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2184, allocations: 4 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2184, allocations: 0 / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2186, allocations: 19.97 kB / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2186, allocations: 0 / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2187, allocations: 27.94 kB / 0.7336 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2187, allocations: 0 / 0.7336 GB, free: 11.81 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 0.0001021/0.2188, allocations: 117.8 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2189, allocations: 0 / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.2189, allocations: 3.312 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2189, allocations: 3.984 kB / 0.7337 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2189, allocations: 3.938 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2189, allocations: 0 / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2191, allocations: 144.7 kB / 0.7338 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2191, allocations: 7.938 kB / 0.7338 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.2193, allocations: 19.97 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2193, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2193, allocations: 0 / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.2193, allocations: 4 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2193, allocations: 3.984 kB / 0.7339 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005207/0.2198, allocations: 219.4 kB / 0.7341 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.2198, allocations: 4.031 kB / 0.7341 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.2198, allocations: 7.969 kB / 0.7341 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.22, allocations: 19.98 kB / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.22, allocations: 3.984 kB / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.22, allocations: 0 / 0.7341 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.2201, allocations: 79.28 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2201, allocations: 0 / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002558/0.2203, allocations: 16 kB / 0.7342 GB, free: 11.09 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.0009048/0.2213, allocations: 0.7669 MB / 0.7349 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.2217, allocations: 87.94 kB / 0.735 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2217, allocations: 0 / 0.735 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.2219, allocations: 59.94 kB / 0.7351 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2223, allocations: 8.125 kB / 0.7351 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008154/0.2231, allocations: 191.1 kB / 0.7353 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.2234, allocations: 0.6807 MB / 0.7359 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.941e-05/0.2235, allocations: 7.984 kB / 0.7359 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.2236, allocations: 23.42 kB / 0.736 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.2236, allocations: 0 / 0.736 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.2513, allocations: 1.788 MB / 0.7377 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.32, allocations: 4.062 kB / 0.7377 GB, free: 7.531 MB / 0.5606 GB " [Timeout remaining time 649] (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.162964880932122] Failed to read output from testmodel.py, exit status != 0: 11.420739599969238 11.434965492 11.219457396 Calling exit ...