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.001257/0.001257, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001435/0.001435, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.482/1.482, allocations: 230.6 MB / 257.6 MB, free: 7.793 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.9899/0.9899, allocations: 150 MB / 464 MB, free: 10.2 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.002159/0.002159, allocations: 70.39 kB / 0.642 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.218, allocations: 89.18 MB / 0.729 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.003459/0.2215, allocations: 1.452 MB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.2229, allocations: 0.7439 MB / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.223, allocations: 0 / 0.7312 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.223, allocations: 3.984 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.401e-05/0.223, allocations: 11.92 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.2236, allocations: 127.5 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.2237, allocations: 39.91 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.2237, allocations: 0 / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.032e-05/0.2238, allocations: 15.98 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.036e-05/0.2239, allocations: 23.92 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.2239, allocations: 0 / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000428/0.2243, allocations: 263.5 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.2243, allocations: 7.984 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.2244, allocations: 7.938 kB / 0.7317 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.2247, allocations: 195.8 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2247, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2247, allocations: 0 / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2247, allocations: 0 / 0.7319 GB, free: 13.88 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.0005744/0.2253, allocations: 301.9 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2253, allocations: 12.03 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.2254, allocations: 192 / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.69e-05/0.2254, allocations: 38.62 kB / 0.7322 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004696/0.2259, allocations: 72.78 kB / 0.7323 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.226, allocations: 110.5 kB / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.226, allocations: 384 / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.226, allocations: 8.359 kB / 0.7324 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.2263, allocations: 85.56 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2264, allocations: 0 / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2264, allocations: 4 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2264, allocations: 3.984 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/0.2268, allocations: 91.91 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.2274, allocations: 263.9 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.2278, allocations: 90.5 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.228, allocations: 52.88 kB / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.228, allocations: 0 / 0.7329 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2281, allocations: 34.56 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.2281, allocations: 0 / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007581/0.2288, allocations: 169.6 kB / 0.7331 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.2289, allocations: 51.41 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.69e-05/0.229, allocations: 105.8 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.229, allocations: 25.7 kB / 0.7333 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.2291, allocations: 88.09 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.2291, allocations: 7.953 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.571e-05/0.2291, allocations: 13.7 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.2293, allocations: 326.8 kB / 0.7337 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.2295, allocations: 43.98 kB / 0.7338 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.2297, allocations: 43.95 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.2301, allocations: 92.83 kB / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2301, allocations: 0 / 0.7339 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004574/0.2306, allocations: 129.5 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2306, allocations: 4 kB / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2306, allocations: 0 / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2306, allocations: 0 / 0.734 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.2308, allocations: 23.97 kB / 0.734 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2308, allocations: 3.938 kB / 0.7341 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2309, allocations: 24.19 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2309, allocations: 4 kB / 0.7341 GB, free: 11.4 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.713e-05/0.231, allocations: 109.8 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2311, allocations: 4 kB / 0.7342 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.2311, allocations: 11.31 kB / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2311, allocations: 0 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2311, allocations: 0 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2311, allocations: 0 / 0.7342 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.2313, allocations: 132.7 kB / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2313, allocations: 11.92 kB / 0.7343 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.2315, allocations: 19.98 kB / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2315, allocations: 0 / 0.7344 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2315, allocations: 3.984 kB / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2315, allocations: 0 / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2315, allocations: 0 / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.232, allocations: 231.3 kB / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.232, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.232, allocations: 0 / 0.7346 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.2322, allocations: 24.02 kB / 0.7346 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.2322, allocations: 3.984 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2322, allocations: 0 / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.932e-05/0.2323, allocations: 79.28 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2323, allocations: 4 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002519/0.2325, allocations: 11.98 kB / 0.7347 GB, free: 10.7 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.0008957/0.2334, allocations: 0.763 MB / 0.7354 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.2339, allocations: 95.92 kB / 0.7355 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2339, allocations: 4.062 kB / 0.7355 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/0.2341, allocations: 47.95 kB / 0.7356 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2344, allocations: 3.609 kB / 0.7356 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.2352, allocations: 203 kB / 0.7358 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.007e-05/0.2352, allocations: 71.27 kB / 0.7358 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.279e-05/0.2353, allocations: 15.98 kB / 0.7359 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.2354, allocations: 15.42 kB / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2354, allocations: 0 / 0.7359 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.2585, allocations: 1.881 MB / 0.7377 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.56, allocations: 3 kB / 0.7377 GB, free: 7.676 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.470562851056457] Failed to read output from testmodel.py, exit status != 0: 11.727519339998253 11.757967627 11.52742969 Calling exit ...