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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 105.6 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.019/2.019, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.137/1.137, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 65.86 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2027, allocations: 76.18 MB / 0.6316 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00195/0.2047, allocations: 0.6215 MB / 0.6322 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2067, allocations: 1.454 MB / 0.6337 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.2068, allocations: 0 / 0.6337 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.2069, allocations: 0 / 0.6337 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.207, allocations: 3.938 kB / 0.6337 GB, free: 2.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.2075, allocations: 127.5 kB / 0.6338 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.2076, allocations: 27.86 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.2076, allocations: 7.984 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.2077, allocations: 7.938 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.2078, allocations: 23.89 kB / 0.6339 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.2078, allocations: 8 kB / 0.6339 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.2083, allocations: 311.4 kB / 0.6342 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.2083, allocations: 7.984 kB / 0.6342 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.2084, allocations: 19.8 kB / 0.6342 GB, free: 2.219 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.2087, allocations: 190.5 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2087, allocations: 0 / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2087, allocations: 0 / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.2087, allocations: 0 / 0.6344 GB, free: 2.035 MB / 478.1 MB 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.0004922/0.2092, allocations: 380.1 kB / 0.6347 GB, free: 1.617 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2092, allocations: 12.03 kB / 0.6347 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.2093, allocations: 34.75 kB / 0.6348 GB, free: 1.562 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.2096, allocations: 64.8 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.2098, allocations: 172.3 kB / 0.635 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2098, allocations: 384 / 0.635 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.2098, allocations: 384 / 0.635 GB, free: 1.293 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.2101, allocations: 77.77 kB / 0.6351 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2102, allocations: 7.938 kB / 0.6351 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2102, allocations: 4 kB / 0.6351 GB, free: 1.199 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2102, allocations: 3.938 kB / 0.6351 GB, free: 1.195 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.2106, allocations: 67.92 kB / 0.6352 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.2109, allocations: 169.7 kB / 0.6353 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.2114, allocations: 130.5 kB / 0.6354 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2116, allocations: 40.95 kB / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.2116, allocations: 0 / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.2117, allocations: 38.44 kB / 0.6355 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.2117, allocations: 0 / 0.6355 GB, free: 0.6875 MB / 478.1 MB 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.004015/0.2157, allocations: 0.7857 MB / 0.6363 GB, free: 15.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.2157, allocations: 51.41 kB / 0.6363 GB, free: 15.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.2158, allocations: 109.8 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.2159, allocations: 33.7 kB / 0.6365 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.2159, allocations: 80.14 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.2159, allocations: 35.53 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.216, allocations: 33.64 kB / 0.6366 GB, free: 15.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2161, allocations: 310.8 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.2165, allocations: 99.89 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/0.217, allocations: 104.6 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.2178, allocations: 188.9 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2178, allocations: 7.938 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008995/0.2187, allocations: 249.3 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2187, allocations: 4 kB / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2187, allocations: 0 / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2188, allocations: 0 / 0.6375 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.2191, allocations: 59.94 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2191, allocations: 3.938 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.2193, allocations: 39.95 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.2193, allocations: 0 / 0.6376 GB, free: 14.46 MB / 494.1 MB 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 7.834e-05/0.2194, allocations: 121.8 kB / 0.6377 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.2194, allocations: 7.906 kB / 0.6378 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.2195, allocations: 8.375 kB / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2195, allocations: 0 / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2195, allocations: 0 / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2195, allocations: 0 / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.2211, allocations: 0.6013 MB / 0.6384 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2211, allocations: 0 / 0.6384 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.2214, allocations: 59.94 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2214, allocations: 0 / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.2214, allocations: 7.984 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2214, allocations: 0 / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2214, allocations: 3.938 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/0.2224, allocations: 344.9 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2224, allocations: 85.02 kB / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2224, allocations: 0 / 0.6388 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.2227, allocations: 39.95 kB / 0.6389 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.2227, allocations: 11.92 kB / 0.6389 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.2228, allocations: 4.188 kB / 0.6389 GB, free: 13.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.856e-05/0.2228, allocations: 99.27 kB / 0.639 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2228, allocations: 3.938 kB / 0.639 GB, free: 12.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.2231, allocations: 36 kB / 0.639 GB, free: 12.92 MB / 494.1 MB 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.00128/0.2244, allocations: 0.9052 MB / 0.6399 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.2253, allocations: 203.7 kB / 0.6401 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2253, allocations: 0 / 0.6401 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.2257, allocations: 108 kB / 0.6402 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.226, allocations: 17.77 kB / 0.6402 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006605/0.2326, allocations: 2.126 MB / 0.6423 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.2331, allocations: 0.688 MB / 0.643 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.2333, allocations: 28.64 kB / 0.643 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.2334, allocations: 23.42 kB / 0.643 GB, free: 8.684 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2334, allocations: 0 / 0.643 GB, free: 8.684 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/0.3513, allocations: 2.798 MB / 0.6457 GB, free: 5.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/13.87, allocations: 14.06 kB / 0.6458 GB, free: 5.969 MB / 494.1 MB (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 --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)