Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001156/0.001156, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001759/0.001759, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7243/0.7243, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.485e-05, allocations: 6.109 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001457/0.001482, allocations: 0.6378 MB / 0.6188 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.002854, allocations: 1.435 MB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.002885, allocations: 0 / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.585e-05/0.002901, allocations: 0 / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.466e-05/0.002966, allocations: 11.92 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.003279, allocations: 123.4 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.003335, allocations: 31.91 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.003377, allocations: 4 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.003423, allocations: 15.92 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.003477, allocations: 15.92 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.003492, allocations: 4 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.003737, allocations: 251.4 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.255e-05/0.003759, allocations: 7.969 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.003779, allocations: 15.94 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.003982, allocations: 191.5 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003986, allocations: 4 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.393e-06/0.003987, allocations: 3.938 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.003991, allocations: 0 / 0.6208 GB, free: 10.84 MB / 0.5886 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.0003646/0.004356, allocations: 301.8 kB / 0.6211 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.004392, allocations: 12.03 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.752e-05/0.004419, allocations: 34.73 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.004618, allocations: 64.81 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.00471, allocations: 117.8 kB / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.004726, allocations: 384 / 0.6213 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.004744, allocations: 8.328 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.004894, allocations: 70.2 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.004904, allocations: 4.188 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.004915, allocations: 12.06 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004919, allocations: 0 / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.00509, allocations: 75.84 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.005217, allocations: 136.8 kB / 0.6216 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.005473, allocations: 114.5 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.00556, allocations: 48.94 kB / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.005576, allocations: 0 / 0.6218 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.005593, allocations: 30.56 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.005594, allocations: 3.984 kB / 0.6218 GB, free: 9.695 MB / 0.5886 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.002135/0.007729, allocations: 0.7994 MB / 0.6226 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.007766, allocations: 51.41 kB / 0.6227 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.007846, allocations: 117.8 kB / 0.6228 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.007861, allocations: 25.7 kB / 0.6228 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.007891, allocations: 84.14 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.007929, allocations: 31.73 kB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.007976, allocations: 25.7 kB / 0.6229 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.008051, allocations: 322.8 kB / 0.6232 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.00827, allocations: 91.91 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.008464, allocations: 103.8 kB / 0.6234 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.008863, allocations: 192.7 kB / 0.6236 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.008865, allocations: 0 / 0.6236 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004669/0.009331, allocations: 245.3 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.009352, allocations: 4 kB / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.009358, allocations: 0 / 0.6238 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.009375, allocations: 4.375 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.009543, allocations: 52.69 kB / 0.6239 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.009549, allocations: 0 / 0.6239 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.009655, allocations: 35.95 kB / 0.6239 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.009667, allocations: 15.92 kB / 0.6239 GB, free: 7.461 MB / 0.5886 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 6.851e-05/0.009736, allocations: 110.8 kB / 0.6241 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.009751, allocations: 15.83 kB / 0.6241 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.009786, allocations: 12.44 kB / 0.6241 GB, free: 7.312 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.009789, allocations: 4 kB / 0.6241 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.009795, allocations: 4 kB / 0.6241 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.009798, allocations: 3.938 kB / 0.6241 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.01072, allocations: 0.5575 MB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01072, allocations: 4 kB / 0.6246 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.01084, allocations: 47.94 kB / 0.6247 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01084, allocations: 8.062 kB / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.01085, allocations: 0 / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.01086, allocations: 7.938 kB / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01086, allocations: 0 / 0.6247 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004664/0.01133, allocations: 340.9 kB / 0.625 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01134, allocations: 7.953 kB / 0.625 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.01136, allocations: 3.984 kB / 0.625 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.01147, allocations: 31.97 kB / 0.6251 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.0115, allocations: 15.97 kB / 0.6251 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.01151, allocations: 4 kB / 0.6251 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.01156, allocations: 99.2 kB / 0.6252 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01156, allocations: 4 kB / 0.6252 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002103/0.01177, allocations: 31.88 kB / 0.6252 GB, free: 6.07 MB / 0.5886 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.0008008/0.01257, allocations: 0.8979 MB / 0.6261 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.01305, allocations: 207.7 kB / 0.6263 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01306, allocations: 384 / 0.6263 GB, free: 4.938 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.01326, allocations: 108 kB / 0.6264 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.01345, allocations: 10.03 kB / 0.6264 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.0161, allocations: 2.151 MB / 0.6285 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.01616, allocations: 71.33 kB / 0.6286 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.896e-05/0.01624, allocations: 24.72 kB / 0.6286 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.01631, allocations: 28.48 kB / 0.6286 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of SimCode: time 1.042e-06/0.01631, allocations: 3.938 kB / 0.6286 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01663/0.03294, allocations: 3.49 MB / 0.632 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.692, allocations: 0.5 kB / 0.632 GB, free: 15.1 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.400175472721457] Failed to read output from testmodel.py, exit status != 0: 6.773222338408232 6.7806393 6.775082825 Calling exit ...