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.00141/0.00141, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001457/0.001457, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9788/0.9788, allocations: 149.9 MB / 463 MB, free: 10.44 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.002149/0.002149, allocations: 66.38 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2187, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.002833/0.2215, allocations: 1.45 MB / 0.7296 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2229, allocations: 0.7556 MB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.223, allocations: 0 / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.223, allocations: 4 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.223, allocations: 11.92 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.2235, allocations: 127.5 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.2236, allocations: 35.86 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.2237, allocations: 12 kB / 0.7305 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.2237, allocations: 11.98 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.2238, allocations: 19.91 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.2238, allocations: 4 kB / 0.7305 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.2242, allocations: 239.5 kB / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.2242, allocations: 11.98 kB / 0.7308 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.2243, allocations: 15.86 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.2246, allocations: 187.8 kB / 0.731 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2246, allocations: 0 / 0.731 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2246, allocations: 0 / 0.731 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2246, allocations: 0 / 0.731 GB, free: 14.15 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.0005654/0.2252, allocations: 305.9 kB / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2252, allocations: 8.031 kB / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.2253, allocations: 42.72 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.2257, allocations: 64.86 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2258, allocations: 118.5 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2258, allocations: 4.312 kB / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.2258, allocations: 384 / 0.7315 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.2261, allocations: 89.75 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2262, allocations: 0 / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2262, allocations: 0 / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2262, allocations: 4 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.2266, allocations: 83.91 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.2271, allocations: 263.9 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.2275, allocations: 98.44 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.2277, allocations: 52.88 kB / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.2277, allocations: 0 / 0.732 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2278, allocations: 38.48 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.2278, allocations: 0 / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0007536/0.2285, allocations: 169.6 kB / 0.7322 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2286, allocations: 55.34 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.2287, allocations: 105.8 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2287, allocations: 25.7 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2287, allocations: 80.14 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.2288, allocations: 11.95 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.2288, allocations: 13.7 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.229, allocations: 322.8 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.2292, allocations: 47.98 kB / 0.7329 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.2294, allocations: 47.95 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.2298, allocations: 88.83 kB / 0.733 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2298, allocations: 0 / 0.733 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004583/0.2302, allocations: 121.6 kB / 0.7331 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2303, allocations: 7.938 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2303, allocations: 0 / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2303, allocations: 0 / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2305, allocations: 23.97 kB / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2305, allocations: 0 / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.2306, allocations: 23.94 kB / 0.7332 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2306, allocations: 7.938 kB / 0.7332 GB, free: 11.68 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.009e-05/0.2307, allocations: 113.8 kB / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.2307, allocations: 0 / 0.7333 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.2308, allocations: 7.312 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2308, allocations: 0 / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2308, allocations: 0 / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2308, allocations: 3.984 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.231, allocations: 140.7 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.231, allocations: 0 / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.2311, allocations: 24.22 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2311, allocations: 0 / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2311, allocations: 4 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2311, allocations: 0 / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2311, allocations: 3.938 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.2317, allocations: 227.3 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.2317, allocations: 4 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2317, allocations: 4.031 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2318, allocations: 19.97 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2319, allocations: 0 / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.2319, allocations: 3.984 kB / 0.7337 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.204e-05/0.2319, allocations: 87.27 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2319, allocations: 0 / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00024/0.2322, allocations: 12 kB / 0.7338 GB, free: 10.97 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.0008996/0.2331, allocations: 0.7553 MB / 0.7346 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.2335, allocations: 103.8 kB / 0.7346 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2335, allocations: 0 / 0.7346 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.2338, allocations: 43.95 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2341, allocations: 6.688 kB / 0.7347 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.2348, allocations: 199.1 kB / 0.7349 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.427e-05/0.2349, allocations: 55.36 kB / 0.7349 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.968e-05/0.235, allocations: 15.98 kB / 0.735 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.235, allocations: 11.44 kB / 0.735 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.235, allocations: 0 / 0.735 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.2651, allocations: 2.242 MB / 0.7372 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.44, allocations: 7.922 kB / 0.7372 GB, free: 7.594 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.171312728896737] Failed to read output from testmodel.py, exit status != 0: 11.544815240893513 11.560696551 11.332922569 Calling exit ...