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.0008789/0.0008789, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 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.001074/0.001074, allocations: 165 kB / 23.02 MB, free: 1.547 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.9965/0.9965, allocations: 177.1 MB / 203.4 MB, free: 5.637 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-545:108: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-545:116: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.8946/0.8946, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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: 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.653e-06/1.653e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.83e-05, allocations: 6.812 kB / 0.5204 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001531/0.00156, allocations: 0.7945 MB / 0.5212 GB, free: 1.379 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.003334, allocations: 1.496 MB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.00338, allocations: 3.469 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.003413, allocations: 3.938 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.003461, allocations: 7.938 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.00401, allocations: 144 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.004102, allocations: 52.45 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.004148, allocations: 4.531 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.362e-05/0.004242, allocations: 32.84 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.004297, allocations: 31.94 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.004316, allocations: 4 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.004626, allocations: 249 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.004655, allocations: 19.91 kB / 0.5232 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.47e-05/0.00469, allocations: 11.98 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.005023, allocations: 227.3 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005025, allocations: 0.8125 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005026, allocations: 0 / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005031, allocations: 0.5312 kB / 0.5234 GB, free: 15.1 MB / 0.4948 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.0004877/0.005519, allocations: 418.1 kB / 0.5238 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.005563, allocations: 12.03 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.005825, allocations: 62.55 kB / 0.5239 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.005925, allocations: 116.5 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.005944, allocations: 4.938 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.005974, allocations: 9.812 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.006201, allocations: 157.2 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.006212, allocations: 192 / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.006227, allocations: 6.156 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.006237, allocations: 7.938 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.634e-05/0.006303, allocations: 31.91 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.006741, allocations: 326.3 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.006899, allocations: 82.91 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.006932, allocations: 19.67 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.006951, allocations: 8 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.006975, allocations: 37.39 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.006976, allocations: 0 / 0.5246 GB, free: 13.7 MB / 0.4948 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.006998/0.01397, allocations: 2 MB / 0.5266 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.014, allocations: 51.41 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.01408, allocations: 161.9 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.01411, allocations: 29.7 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.01416, allocations: 139.9 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.01422, allocations: 39.64 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.01432, allocations: 79.17 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01445, allocations: 0.4932 MB / 0.5275 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.01464, allocations: 135.9 kB / 0.5277 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.01484, allocations: 145 kB / 0.5278 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.01524, allocations: 292 kB / 0.5281 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01525, allocations: 0 / 0.5281 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005687/0.01581, allocations: 381.9 kB / 0.5285 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01583, allocations: 7.219 kB / 0.5285 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01584, allocations: 0 / 0.5285 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01585, allocations: 4 kB / 0.5285 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.01622, allocations: 89.31 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01622, allocations: 0.6875 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.01645, allocations: 34.11 kB / 0.5286 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.01648, allocations: 23.94 kB / 0.5286 GB, free: 9.539 MB / 0.4948 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.0001237/0.01661, allocations: 168.5 kB / 0.5288 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.01668, allocations: 10.36 kB / 0.5288 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.01672, allocations: 12.12 kB / 0.5288 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01673, allocations: 7.984 kB / 0.5288 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01673, allocations: 0 / 0.5288 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01674, allocations: 0 / 0.5288 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.01787, allocations: 0.8882 MB / 0.5297 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01787, allocations: 3.938 kB / 0.5297 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.01821, allocations: 87.81 kB / 0.5297 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01821, allocations: 1.062 kB / 0.5298 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.01824, allocations: 19.94 kB / 0.5298 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01825, allocations: 0 / 0.5298 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01825, allocations: 4.578 kB / 0.5298 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000814/0.01906, allocations: 0.6557 MB / 0.5304 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.01915, allocations: 44.81 kB / 0.5305 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.01919, allocations: 0 / 0.5305 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.01944, allocations: 30.47 kB / 0.5305 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.01951, allocations: 35.91 kB / 0.5305 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.01955, allocations: 27.88 kB / 0.5305 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.666e-05/0.01958, allocations: 119.2 kB / 0.5307 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01958, allocations: 0.5 kB / 0.5307 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000259/0.01984, allocations: 55.94 kB / 0.5307 GB, free: 7.266 MB / 0.4948 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.0001504/0.01999, allocations: 113.8 kB / 0.5308 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004612/0.02045, allocations: 331.3 kB / 0.5311 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.02045, allocations: 0 / 0.5311 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.02068, allocations: 184.6 kB / 0.5313 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.0209, allocations: 35.94 kB / 0.5313 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.02261, allocations: 0.6223 MB / 0.532 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.02265, allocations: 71.22 kB / 0.532 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.02294, allocations: 84.61 kB / 0.5321 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.02312, allocations: 56.36 kB / 0.5322 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.02312, allocations: 1 kB / 0.5322 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of Templates: time 0.005025/0.02814, allocations: 3.77 MB / 0.5358 GB, free: 2.09 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.092980983667076]