Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 112.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.167/1.167, allocations: 175.8 MB / 478.5 MB, free: 8.488 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003516/0.003516, allocations: 62.97 kB / 0.6652 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.211, allocations: 94.54 MB / 0.7576 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002377/0.2134, allocations: 0.7957 MB / 0.7583 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3732/0.5865, allocations: 1.477 MB / 0.7598 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.5866, allocations: 1.531 kB / 0.7598 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.5866, allocations: 5.172 kB / 0.7598 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.234e-05/0.5867, allocations: 3.75 kB / 0.7598 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.5873, allocations: 141.1 kB / 0.7599 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.5875, allocations: 54.5 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.5875, allocations: 5.953 kB / 0.76 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.5876, allocations: 27.58 kB / 0.76 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.5877, allocations: 35.33 kB / 0.7601 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.5877, allocations: 4.594 kB / 0.7601 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.5884, allocations: 322.4 kB / 0.7604 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.5884, allocations: 12.8 kB / 0.7604 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.5884, allocations: 31.41 kB / 0.7604 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.5889, allocations: 202.6 kB / 0.7606 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5889, allocations: 0 / 0.7606 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5889, allocations: 1.359 kB / 0.7606 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.5889, allocations: 1.438 kB / 0.7606 GB, free: 7.961 MB / 0.5762 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.0006809/0.5896, allocations: 407.3 kB / 0.761 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.5896, allocations: 9.75 kB / 0.761 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.5897, allocations: 41 kB / 0.761 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004692/0.5901, allocations: 73.23 kB / 0.7611 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.982e-05/0.5902, allocations: 167.5 kB / 0.7613 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.5903, allocations: 8.156 kB / 0.7613 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.5903, allocations: 11.55 kB / 0.7613 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.5907, allocations: 114 kB / 0.7614 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5907, allocations: 3 kB / 0.7614 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5908, allocations: 0.8438 kB / 0.7614 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.5908, allocations: 1.969 kB / 0.7614 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.5913, allocations: 102.4 kB / 0.7615 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.5919, allocations: 334.4 kB / 0.7618 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.5925, allocations: 158.6 kB / 0.762 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.5927, allocations: 58.36 kB / 0.762 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.5928, allocations: 4.328 kB / 0.762 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.5928, allocations: 32.44 kB / 0.7621 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.5928, allocations: 0 / 0.7621 GB, free: 6.941 MB / 0.5762 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.01876/0.6115, allocations: 2.837 MB / 0.7648 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6116, allocations: 67.12 kB / 0.7649 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.6117, allocations: 97.38 kB / 0.765 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.6117, allocations: 27.58 kB / 0.765 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.6117, allocations: 94.22 kB / 0.7651 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.6118, allocations: 38.78 kB / 0.7651 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.612, allocations: 71.28 kB / 0.7652 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.612, allocations: 322.9 kB / 0.7655 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006393/0.6127, allocations: 190 kB / 0.7657 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006354/0.6133, allocations: 190.7 kB / 0.7659 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.6146, allocations: 391.4 kB / 0.7663 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6146, allocations: 0.5 kB / 0.7663 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001627/0.6163, allocations: 481.2 kB / 0.7667 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6163, allocations: 6.406 kB / 0.7667 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6163, allocations: 0 / 0.7667 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.6163, allocations: 5.219 kB / 0.7667 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.6172, allocations: 110 kB / 0.7668 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6172, allocations: 1.688 kB / 0.7668 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.6178, allocations: 45.2 kB / 0.7669 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.6179, allocations: 28.02 kB / 0.7669 GB, free: 5.668 MB / 0.5762 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.0001588/0.618, allocations: 122.1 kB / 0.767 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.823e-05/0.6181, allocations: 2.938 kB / 0.767 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.6182, allocations: 17.86 kB / 0.767 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6182, allocations: 6.609 kB / 0.767 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.6182, allocations: 0 / 0.767 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6182, allocations: 1.891 kB / 0.767 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.6204, allocations: 1.047 MB / 0.7681 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6204, allocations: 4.875 kB / 0.7681 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008212/0.6212, allocations: 108.5 kB / 0.7682 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.6212, allocations: 1.5 kB / 0.7682 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.6213, allocations: 23.88 kB / 0.7682 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.6213, allocations: 8.031 kB / 0.7682 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6213, allocations: 4.938 kB / 0.7682 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.6237, allocations: 0.7815 MB / 0.769 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.6239, allocations: 120.9 kB / 0.7691 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.624, allocations: 5.781 kB / 0.7691 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.6247, allocations: 43.36 kB / 0.7691 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.6248, allocations: 28.41 kB / 0.7692 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.6248, allocations: 32.61 kB / 0.7692 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.6249, allocations: 80.09 kB / 0.7693 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6249, allocations: 0 / 0.7693 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004555/0.6253, allocations: 56.42 kB / 0.7693 GB, free: 4.633 MB / 0.5762 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.002676/0.628, allocations: 1.346 MB / 0.7706 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001525/0.6295, allocations: 420.7 kB / 0.771 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6295, allocations: 0 / 0.771 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.6303, allocations: 224.6 kB / 0.7713 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.6307, allocations: 14.16 kB / 0.7713 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008755/0.6394, allocations: 2.944 MB / 0.7741 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.6398, allocations: 0.6898 MB / 0.7748 GB, free: 17.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005045/0.6403, allocations: 95.78 kB / 0.7749 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.6405, allocations: 63.66 kB / 0.775 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of SimCode: time 1.343e-06/0.6405, allocations: 0 / 0.775 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.672, allocations: 4.583 MB / 0.7794 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.849, allocations: 7.297 kB / 0.7795 GB, free: 17.05 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --stepSize=0.0012 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.776999257970601] Failed to read output from testmodel.py, exit status != 0: 8.920106266159564 8.944306217 8.351212885 Calling exit ...