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.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.001337/0.001337, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001042/0.001042, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.9188/0.9188, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5654/0.5654, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.5543 GB, free: 1.621 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.189e-05, allocations: 2.281 kB / 0.5543 GB, free: 1.617 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00143/0.001452, allocations: 0.7639 MB / 0.555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.002961, allocations: 1.454 MB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.002999, allocations: 0 / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.003027, allocations: 3.938 kB / 0.5564 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.003071, allocations: 11.88 kB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.003513, allocations: 139.4 kB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.128e-05/0.003594, allocations: 51.89 kB / 0.5566 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.003637, allocations: 7.969 kB / 0.5566 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.003728, allocations: 39.92 kB / 0.5567 GB, free: 15.13 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.003778, allocations: 23.94 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003795, allocations: 4 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002674/0.004062, allocations: 255.4 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.004081, allocations: 19.91 kB / 0.557 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.004105, allocations: 16 kB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.004348, allocations: 235.3 kB / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.00435, allocations: 0 / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004351, allocations: 0 / 0.5572 GB, free: 14.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004354, allocations: 0 / 0.5572 GB, free: 14.59 MB / 490.7 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.0006577/0.005012, allocations: 329.8 kB / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.005051, allocations: 8.625 kB / 0.5575 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.005087, allocations: 42.75 kB / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.005335, allocations: 72.8 kB / 0.5576 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.00542, allocations: 113.7 kB / 0.5577 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.005445, allocations: 4.375 kB / 0.5577 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.005469, allocations: 12.38 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.005709, allocations: 165.5 kB / 0.5579 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.00572, allocations: 192 / 0.5579 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.005732, allocations: 4.125 kB / 0.5579 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.005738, allocations: 0 / 0.5579 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.005981, allocations: 103.9 kB / 0.558 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.006402, allocations: 291.7 kB / 0.5583 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.006731, allocations: 150.4 kB / 0.5584 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.006849, allocations: 60.81 kB / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.006863, allocations: 4 kB / 0.5585 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.006883, allocations: 30.56 kB / 0.5585 GB, free: 13.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.006885, allocations: 3.984 kB / 0.5585 GB, free: 13.08 MB / 490.7 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.009625/0.01651, allocations: 2.694 MB / 0.5612 GB, free: 10.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.01655, allocations: 63.34 kB / 0.5612 GB, free: 10.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.01662, allocations: 101.8 kB / 0.5613 GB, free: 10.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.01666, allocations: 25.7 kB / 0.5613 GB, free: 10.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.01672, allocations: 96.03 kB / 0.5614 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.01679, allocations: 35.69 kB / 0.5615 GB, free: 9.984 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.01695, allocations: 73.52 kB / 0.5615 GB, free: 9.906 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.01706, allocations: 318.8 kB / 0.5618 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005345/0.01759, allocations: 187.8 kB / 0.562 GB, free: 9.402 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.01812, allocations: 195.8 kB / 0.5622 GB, free: 9.211 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.01922, allocations: 400 kB / 0.5626 GB, free: 8.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.01922, allocations: 0 / 0.5626 GB, free: 8.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001027/0.02025, allocations: 477.2 kB / 0.563 GB, free: 8.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.02026, allocations: 7.938 kB / 0.563 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.02027, allocations: 0 / 0.563 GB, free: 8.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.02028, allocations: 4 kB / 0.5631 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.02067, allocations: 103.8 kB / 0.5632 GB, free: 8.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.02068, allocations: 0 / 0.5632 GB, free: 8.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.02095, allocations: 47.88 kB / 0.5632 GB, free: 8.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.021, allocations: 31.92 kB / 0.5632 GB, free: 8.156 MB / 490.7 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.0001108/0.02111, allocations: 113.8 kB / 0.5633 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.02116, allocations: 7.953 kB / 0.5633 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.0212, allocations: 8.125 kB / 0.5634 GB, free: 8.023 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.0212, allocations: 4.094 kB / 0.5634 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.02121, allocations: 3.938 kB / 0.5634 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.02121, allocations: 0 / 0.5634 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.02255, allocations: 1.003 MB / 0.5643 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02255, allocations: 4 kB / 0.5643 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.02292, allocations: 99.8 kB / 0.5644 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.02293, allocations: 4 kB / 0.5644 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.02296, allocations: 23.94 kB / 0.5645 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.02297, allocations: 11.86 kB / 0.5645 GB, free: 6.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02297, allocations: 4 kB / 0.5645 GB, free: 6.766 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.02433, allocations: 0.7878 MB / 0.5652 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.02442, allocations: 39.89 kB / 0.5653 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.02446, allocations: 7.984 kB / 0.5653 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.02476, allocations: 43.88 kB / 0.5653 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.02482, allocations: 31.98 kB / 0.5654 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.02486, allocations: 23.94 kB / 0.5654 GB, free: 5.816 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.062e-05/0.02489, allocations: 83.27 kB / 0.5655 GB, free: 5.734 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02489, allocations: 0 / 0.5655 GB, free: 5.734 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.02514, allocations: 55.94 kB / 0.5655 GB, free: 5.68 MB / 490.7 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.001616/0.02676, allocations: 1.335 MB / 0.5668 GB, free: 4.316 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.02759, allocations: 423.5 kB / 0.5672 GB, free: 3.902 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0276, allocations: 0 / 0.5672 GB, free: 3.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.02798, allocations: 223.7 kB / 0.5674 GB, free: 3.684 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.02827, allocations: 12.5 kB / 0.5675 GB, free: 3.672 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.03289, allocations: 2.931 MB / 0.5703 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.03295, allocations: 75.33 kB / 0.5704 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.03325, allocations: 96.8 kB / 0.5705 GB, free: 480 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.03345, allocations: 72.3 kB / 0.5706 GB, free: 408 kB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.03345, allocations: 7.938 kB / 0.5706 GB, free: 400 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.05209, allocations: 5.467 MB / 0.5759 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.383, allocations: 7.734 kB / 0.5759 GB, free: 11.1 MB / 0.4948 GB " [Timeout remaining time 653] (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 --stepSize=0.0012 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.900006600655615] Failed to read output from testmodel.py, exit status != 0: 7.4659454096108675 7.475382859 7.469317256 Calling exit ...