Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001261/0.001261, 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.002104/0.002104, allocations: 214.2 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.52/1.52, allocations: 230.6 MB / 257.6 MB, free: 8 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 1.03/1.03, allocations: 150 MB / 464 MB, free: 10.93 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.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.00234/0.00234, allocations: 65.97 kB / 0.6421 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2041, allocations: 89.16 MB / 0.7292 GB, free: 1.504 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001962/0.2061, allocations: 0.6442 MB / 0.7298 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.2083, allocations: 1.517 MB / 0.7313 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.2083, allocations: 0 / 0.7313 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.755e-05/0.2083, allocations: 0 / 0.7313 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.2084, allocations: 7.938 kB / 0.7313 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.2089, allocations: 127.4 kB / 0.7314 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.209, allocations: 31.89 kB / 0.7314 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.209, allocations: 0 / 0.7314 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.2091, allocations: 15.94 kB / 0.7314 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.2091, allocations: 23.91 kB / 0.7315 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2092, allocations: 4 kB / 0.7315 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.2097, allocations: 315.4 kB / 0.7318 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.2098, allocations: 7.938 kB / 0.7318 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.2098, allocations: 19.86 kB / 0.7318 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.2102, allocations: 187.5 kB / 0.732 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2102, allocations: 0 / 0.732 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2102, allocations: 0 / 0.732 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.2102, allocations: 3.938 kB / 0.732 GB, free: 14.6 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006787/0.2109, allocations: 305.8 kB / 0.7323 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.2109, allocations: 12.03 kB / 0.7323 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.022e-05/0.211, allocations: 192 / 0.7323 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.211, allocations: 34.73 kB / 0.7323 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/0.2114, allocations: 64.86 kB / 0.7324 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.2116, allocations: 114.5 kB / 0.7325 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.2116, allocations: 384 / 0.7325 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2117, allocations: 4.375 kB / 0.7325 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.212, allocations: 81.58 kB / 0.7326 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.212, allocations: 3.938 kB / 0.7326 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.2121, allocations: 3.984 kB / 0.7326 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2121, allocations: 0 / 0.7326 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.2124, allocations: 75.91 kB / 0.7326 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.2127, allocations: 136.8 kB / 0.7328 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.2133, allocations: 126.5 kB / 0.7329 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.2135, allocations: 36.95 kB / 0.7329 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.2135, allocations: 3.938 kB / 0.7329 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.2135, allocations: 42.48 kB / 0.733 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.2135, allocations: 8 kB / 0.733 GB, free: 13.43 MB / 0.5606 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.004347/0.2179, allocations: 0.7805 MB / 0.7337 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2179, allocations: 51.41 kB / 0.7338 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2181, allocations: 113.8 kB / 0.7339 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.2181, allocations: 25.8 kB / 0.7339 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2181, allocations: 88.08 kB / 0.734 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.2182, allocations: 35.67 kB / 0.734 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.2183, allocations: 29.7 kB / 0.7341 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2184, allocations: 314.8 kB / 0.7344 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.2189, allocations: 99.89 kB / 0.7345 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.2193, allocations: 95.89 kB / 0.7346 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008571/0.2202, allocations: 200.5 kB / 0.7348 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2202, allocations: 4 kB / 0.7348 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009508/0.2211, allocations: 237.4 kB / 0.735 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2211, allocations: 4 kB / 0.735 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2212, allocations: 0 / 0.735 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2212, allocations: 4 kB / 0.735 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.2215, allocations: 55.94 kB / 0.735 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2215, allocations: 3.938 kB / 0.735 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.2217, allocations: 39.95 kB / 0.7351 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.2218, allocations: 3.984 kB / 0.7351 GB, free: 11.21 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 (9): * Single equations (assignments): 9 * 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.0001286/0.2219, allocations: 120.2 kB / 0.7352 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.2219, allocations: 4 kB / 0.7352 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.222, allocations: 12.38 kB / 0.7352 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.222, allocations: 0 / 0.7352 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.222, allocations: 0 / 0.7352 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.222, allocations: 4.281 kB / 0.7352 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.2238, allocations: 0.5691 MB / 0.7358 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2238, allocations: 0 / 0.7358 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.2241, allocations: 63.81 kB / 0.7358 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2241, allocations: 0 / 0.7358 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.2242, allocations: 12.05 kB / 0.7359 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2242, allocations: 0 / 0.7359 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2242, allocations: 3.938 kB / 0.7359 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.2252, allocations: 345 kB / 0.7362 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.2252, allocations: 7.953 kB / 0.7362 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.2252, allocations: 0 / 0.7362 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.2255, allocations: 35.95 kB / 0.7362 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.2255, allocations: 20.3 kB / 0.7362 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.2256, allocations: 4 kB / 0.7362 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.2256, allocations: 91.66 kB / 0.7363 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2256, allocations: 0 / 0.7363 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003158/0.2259, allocations: 43.86 kB / 0.7364 GB, free: 9.809 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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.001521/0.2274, allocations: 0.8972 MB / 0.7373 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000964/0.2284, allocations: 208 kB / 0.7375 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2284, allocations: 0 / 0.7375 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.2289, allocations: 112 kB / 0.7376 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.2291, allocations: 7.938 kB / 0.7376 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.2345, allocations: 2.136 MB / 0.7397 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.2349, allocations: 0.6924 MB / 0.7403 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.235, allocations: 16.67 kB / 0.7403 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.2351, allocations: 27.42 kB / 0.7404 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.633e-06/0.2351, allocations: 0 / 0.7404 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.2618, allocations: 2.922 MB / 0.7432 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.41, allocations: 2.5 kB / 0.7432 GB, free: 2.801 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.367490155971609] Failed to read output from testmodel.py, exit status != 0: 11.569213834998664 11.585433408 11.372028477 Calling exit ...