Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001309/0.001309, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001493/0.001493, allocations: 165.4 kB / 22.46 MB, free: 5.355 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.451/1.451, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.244/1.244, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 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 178] 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6187 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.14e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001928/0.00196, allocations: 0.7786 MB / 0.6194 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002228/0.004188, allocations: 1.462 MB / 0.6208 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.00422, allocations: 0 / 0.6208 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.004251, allocations: 3.938 kB / 0.6209 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.004295, allocations: 0 / 0.6209 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.00481, allocations: 154.5 kB / 0.621 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.004914, allocations: 55.88 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.004955, allocations: 3.906 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.005067, allocations: 39.89 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.005123, allocations: 19.97 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.005146, allocations: 4 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.00554, allocations: 255.4 kB / 0.6214 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.005566, allocations: 15.92 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.005603, allocations: 23.91 kB / 0.6214 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.005963, allocations: 227.3 kB / 0.6216 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.005967, allocations: 4 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005967, allocations: 0 / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.005972, allocations: 0 / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000724/0.006696, allocations: 329.8 kB / 0.6219 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.006736, allocations: 8.031 kB / 0.6219 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004686/0.007205, allocations: 68.84 kB / 0.622 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.007316, allocations: 113.7 kB / 0.6221 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.007349, allocations: 4.375 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.007381, allocations: 8.375 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.007818, allocations: 165.3 kB / 0.6223 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.007833, allocations: 192 / 0.6223 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.007854, allocations: 8.375 kB / 0.6223 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.00786, allocations: 3.938 kB / 0.6223 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005021/0.008362, allocations: 103.9 kB / 0.6224 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.008928, allocations: 264.3 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.009619, allocations: 162.3 kB / 0.6228 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.009864, allocations: 56.8 kB / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.009887, allocations: 4 kB / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.009949, allocations: 34.61 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.00995, allocations: 4 kB / 0.6229 GB, free: 15.98 MB / 0.545 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=11): time 0.01865/0.0286, allocations: 2.683 MB / 0.6255 GB, free: 13.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.02865, allocations: 51.41 kB / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.719e-05/0.02874, allocations: 101.9 kB / 0.6257 GB, free: 13.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.0288, allocations: 25.7 kB / 0.6257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.02886, allocations: 92.08 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.02893, allocations: 39.64 kB / 0.6258 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.02911, allocations: 73.56 kB / 0.6259 GB, free: 12.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.02926, allocations: 318.8 kB / 0.6262 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.02995, allocations: 191.9 kB / 0.6264 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/0.03063, allocations: 199.6 kB / 0.6266 GB, free: 12.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.03204, allocations: 388.5 kB / 0.6269 GB, free: 11.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.03204, allocations: 4 kB / 0.6269 GB, free: 11.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001682/0.03372, allocations: 481.1 kB / 0.6274 GB, free: 11.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.03374, allocations: 4 kB / 0.6274 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.03376, allocations: 96 / 0.6274 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.03378, allocations: 7.938 kB / 0.6274 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.03463, allocations: 103.8 kB / 0.6275 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.03464, allocations: 0 / 0.6275 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.03525, allocations: 47.94 kB / 0.6276 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.03532, allocations: 23.94 kB / 0.6276 GB, free: 11.08 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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.0001779/0.0355, allocations: 122.7 kB / 0.6277 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.03559, allocations: 11.94 kB / 0.6277 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.03565, allocations: 8.125 kB / 0.6277 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.03565, allocations: 4 kB / 0.6277 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.03566, allocations: 0 / 0.6277 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.03566, allocations: 0 / 0.6277 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.03803, allocations: 0.9649 MB / 0.6287 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.03803, allocations: 0 / 0.6287 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/0.03886, allocations: 107.7 kB / 0.6288 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.03886, allocations: 0 / 0.6288 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.03892, allocations: 31.92 kB / 0.6288 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.03893, allocations: 4 kB / 0.6288 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.03893, allocations: 0 / 0.6288 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.04141, allocations: 0.7956 MB / 0.6296 GB, free: 8.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.04155, allocations: 39.84 kB / 0.6296 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/0.04163, allocations: 8 kB / 0.6296 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.04231, allocations: 44 kB / 0.6297 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.04243, allocations: 27.92 kB / 0.6297 GB, free: 8.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.49e-05/0.0425, allocations: 23.88 kB / 0.6297 GB, free: 8.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.04256, allocations: 91.2 kB / 0.6298 GB, free: 8.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.04256, allocations: 0 / 0.6298 GB, free: 8.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000382/0.04294, allocations: 52 kB / 0.6298 GB, free: 8.629 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.000244/0.04318, allocations: 103.2 kB / 0.6299 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.04469, allocations: 426.1 kB / 0.6303 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.04469, allocations: 0 / 0.6303 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.04545, allocations: 222.5 kB / 0.6306 GB, free: 7.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.04585, allocations: 8 kB / 0.6306 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.05018, allocations: 0.7503 MB / 0.6313 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.241e-05/0.05027, allocations: 80.52 kB / 0.6314 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000502/0.05077, allocations: 88.73 kB / 0.6315 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.05105, allocations: 60.36 kB / 0.6315 GB, free: 6.863 MB / 0.545 GB Notification: Performance of SimCode: time 6.72e-07/0.05105, allocations: 0 / 0.6315 GB, free: 6.863 MB / 0.545 GB Notification: Performance of Templates: time 0.007059/0.05811, allocations: 3.69 MB / 0.6351 GB, free: 3.199 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.034627187997103] Failed to read output from testmodel.py, exit status != 0: 0.06698956340551376 0.081467785 0.072370211 Calling exit ...