Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.001196/0.001196, allocations: 103.8 kB / 16.4 MB, free: 6.477 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.001158/0.001158, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.388/2.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9785/0.9785, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 70.42 kB / 0.5573 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2531, allocations: 76.17 MB / 0.6316 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.004689/0.2579, allocations: 0.7691 MB / 0.6324 GB, free: 4.074 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.2619, allocations: 1.485 MB / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.2621, allocations: 0 / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 6.47e-05/0.2622, allocations: 3.938 kB / 0.6338 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.2623, allocations: 3.938 kB / 0.6338 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2635, allocations: 147.4 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.2637, allocations: 43.97 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.2638, allocations: 7.984 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.264, allocations: 31.91 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.2641, allocations: 35.83 kB / 0.6341 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.2642, allocations: 4 kB / 0.6341 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000859/0.265, allocations: 323.3 kB / 0.6344 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.2651, allocations: 12 kB / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.2652, allocations: 19.86 kB / 0.6344 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.2658, allocations: 222.3 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2658, allocations: 0 / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2658, allocations: 0 / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.2659, allocations: 0 / 0.6347 GB, free: 1.734 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001108/0.267, allocations: 400.2 kB / 0.635 GB, free: 1.297 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/0.2671, allocations: 8.031 kB / 0.635 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.053e-05/0.2671, allocations: 38.75 kB / 0.6351 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007556/0.2679, allocations: 72.75 kB / 0.6352 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.2681, allocations: 172.3 kB / 0.6353 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.2682, allocations: 8.375 kB / 0.6353 GB, free: 0.957 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.2682, allocations: 8.375 kB / 0.6353 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.2688, allocations: 112.4 kB / 0.6354 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2689, allocations: 0 / 0.6354 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.2689, allocations: 0 / 0.6354 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.2689, allocations: 0 / 0.6354 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007841/0.2697, allocations: 103.9 kB / 0.6355 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.2707, allocations: 344.4 kB / 0.6359 GB, free: 356 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2717, allocations: 158.4 kB / 0.636 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.2721, allocations: 52.81 kB / 0.6361 GB, free: 132 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.2721, allocations: 7.984 kB / 0.6361 GB, free: 124 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.2722, allocations: 34.56 kB / 0.6361 GB, free: 80 kB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.2722, allocations: 0 / 0.6361 GB, free: 80 kB / 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=11): time 0.0284/0.3006, allocations: 2.834 MB / 0.6389 GB, free: 13.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.3008, allocations: 59.34 kB / 0.6389 GB, free: 13.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3009, allocations: 97.84 kB / 0.639 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.307e-05/0.301, allocations: 33.7 kB / 0.6391 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3012, allocations: 91.98 kB / 0.6391 GB, free: 12.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3013, allocations: 39.45 kB / 0.6392 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.3016, allocations: 65.58 kB / 0.6392 GB, free: 12.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3018, allocations: 318.8 kB / 0.6396 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.3028, allocations: 187.8 kB / 0.6397 GB, free: 12.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000985/0.3038, allocations: 199.8 kB / 0.6399 GB, free: 12.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.3059, allocations: 384.5 kB / 0.6403 GB, free: 11.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3059, allocations: 0 / 0.6403 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002524/0.3084, allocations: 484 kB / 0.6407 GB, free: 11.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.3085, allocations: 4 kB / 0.6408 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3085, allocations: 0 / 0.6408 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/0.3086, allocations: 7.984 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.3098, allocations: 107.7 kB / 0.6409 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.3099, allocations: 1.016 kB / 0.6409 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.3108, allocations: 51.94 kB / 0.6409 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3109, allocations: 19.94 kB / 0.6409 GB, free: 10.99 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 (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.000324/0.3113, allocations: 118.4 kB / 0.641 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.3114, allocations: 7.906 kB / 0.6411 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.3116, allocations: 15.95 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.3116, allocations: 7.938 kB / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.3116, allocations: 0 / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3116, allocations: 0 / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.3154, allocations: 1.043 MB / 0.6421 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3154, allocations: 0 / 0.6421 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.3167, allocations: 123.7 kB / 0.6422 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/0.3167, allocations: 0 / 0.6422 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-05/0.3168, allocations: 23.94 kB / 0.6422 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.3169, allocations: 0 / 0.6422 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3169, allocations: 0 / 0.6422 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.3206, allocations: 0.7955 MB / 0.643 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.3209, allocations: 116.9 kB / 0.6431 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.321, allocations: 8 kB / 0.6431 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.3221, allocations: 48 kB / 0.6432 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.3222, allocations: 23.92 kB / 0.6432 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/0.3224, allocations: 27.92 kB / 0.6432 GB, free: 8.477 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.518e-05/0.3224, allocations: 87.22 kB / 0.6433 GB, free: 8.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3224, allocations: 0 / 0.6433 GB, free: 8.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.3231, allocations: 48.09 kB / 0.6434 GB, free: 8.344 MB / 494.1 MB 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.004253/0.3274, allocations: 1.349 MB / 0.6447 GB, free: 6.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.3293, allocations: 423.5 kB / 0.6451 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3293, allocations: 0 / 0.6451 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.3301, allocations: 231.7 kB / 0.6453 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.3306, allocations: 12.33 kB / 0.6453 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009675/0.3403, allocations: 2.929 MB / 0.6482 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.3407, allocations: 0.6929 MB / 0.6488 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005206/0.3412, allocations: 96.67 kB / 0.6489 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.3415, allocations: 63.3 kB / 0.649 GB, free: 2.438 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3416, allocations: 0 / 0.649 GB, free: 2.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/0.657, allocations: 4.67 MB / 0.6536 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.54, allocations: 19.58 kB / 0.6536 GB, free: 13.88 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)