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.001719/0.001719, allocations: 110.2 kB / 18.94 MB, free: 2.949 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.002413/0.002413, allocations: 192 kB / 22.23 MB, free: 5.125 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.625/1.625, allocations: 225.6 MB / 251 MB, free: 13.03 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.148/1.148, allocations: 177.9 MB / 484.2 MB, free: 5.41 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 63.95 kB / 0.674 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.638/0.6405, allocations: 95.16 MB / 0.767 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002282/0.6428, allocations: 0.7831 MB / 0.7677 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.645, allocations: 1.492 MB / 0.7692 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.6451, allocations: 0 / 0.7692 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.6451, allocations: 6.812 kB / 0.7692 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.6452, allocations: 3.938 kB / 0.7692 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005902/0.6458, allocations: 153.9 kB / 0.7693 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.6459, allocations: 47.36 kB / 0.7694 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.945e-05/0.6459, allocations: 18.66 kB / 0.7694 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.646, allocations: 27.67 kB / 0.7694 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.6461, allocations: 30.84 kB / 0.7695 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.6461, allocations: 8.25 kB / 0.7695 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005089/0.6466, allocations: 316.2 kB / 0.7698 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.6467, allocations: 17.06 kB / 0.7698 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.6467, allocations: 30.16 kB / 0.7698 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.6471, allocations: 209.5 kB / 0.77 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6471, allocations: 3.938 kB / 0.77 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6471, allocations: 0 / 0.77 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.6471, allocations: 0 / 0.77 GB, free: 6.395 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.0006936/0.6478, allocations: 330 kB / 0.7703 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6478, allocations: 9.469 kB / 0.7703 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/0.6483, allocations: 71.41 kB / 0.7704 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.598e-05/0.6484, allocations: 108.8 kB / 0.7705 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.6484, allocations: 11.09 kB / 0.7705 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6485, allocations: 9.172 kB / 0.7705 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.6489, allocations: 114.3 kB / 0.7706 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.6489, allocations: 3.938 kB / 0.7706 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.6489, allocations: 1.594 kB / 0.7707 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6489, allocations: 0.7812 kB / 0.7707 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.6494, allocations: 105.1 kB / 0.7708 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006309/0.6501, allocations: 306.6 kB / 0.771 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.6508, allocations: 156.6 kB / 0.7712 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.651, allocations: 54.78 kB / 0.7712 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.651, allocations: 1.5 kB / 0.7712 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.6511, allocations: 35.25 kB / 0.7713 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.6511, allocations: 0 / 0.7713 GB, free: 5.492 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.02036/0.6714, allocations: 2.694 MB / 0.7739 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.6715, allocations: 57.58 kB / 0.774 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.6715, allocations: 105.5 kB / 0.7741 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.6716, allocations: 26.86 kB / 0.7741 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.6716, allocations: 91.19 kB / 0.7742 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.6717, allocations: 46.97 kB / 0.7742 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.6719, allocations: 69.7 kB / 0.7743 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.672, allocations: 322.8 kB / 0.7746 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.6727, allocations: 188.5 kB / 0.7748 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007505/0.6735, allocations: 197.2 kB / 0.775 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.675, allocations: 391 kB / 0.7753 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.675, allocations: 0 / 0.7753 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001679/0.6767, allocations: 482.7 kB / 0.7758 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6767, allocations: 6.219 kB / 0.7758 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6767, allocations: 0.7031 kB / 0.7758 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.6767, allocations: 0 / 0.7758 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008746/0.6776, allocations: 112.7 kB / 0.7759 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.6776, allocations: 6.797 kB / 0.7759 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.6782, allocations: 40.25 kB / 0.776 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-05/0.6783, allocations: 31.94 kB / 0.776 GB, free: 3.809 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.0001705/0.6785, allocations: 113.7 kB / 0.7761 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.6786, allocations: 4.156 kB / 0.7761 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.668e-05/0.6787, allocations: 13.72 kB / 0.7761 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6787, allocations: 4.531 kB / 0.7761 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.6787, allocations: 3.938 kB / 0.7761 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.6787, allocations: 0.6562 kB / 0.7761 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.681, allocations: 1.016 MB / 0.7771 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.681, allocations: 0 / 0.7771 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.6819, allocations: 110.9 kB / 0.7772 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.6819, allocations: 3.938 kB / 0.7772 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.682, allocations: 22.36 kB / 0.7772 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.682, allocations: 2.5 kB / 0.7772 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.682, allocations: 0 / 0.7772 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.6844, allocations: 0.7909 MB / 0.778 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.6846, allocations: 41.34 kB / 0.7781 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.6846, allocations: 2.062 kB / 0.7781 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006866/0.6853, allocations: 51.94 kB / 0.7781 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6855, allocations: 24.7 kB / 0.7781 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.6855, allocations: 30.48 kB / 0.7782 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.6856, allocations: 88.75 kB / 0.7783 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.6856, allocations: 0 / 0.7783 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004741/0.686, allocations: 44.5 kB / 0.7783 GB, free: 2.598 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.0002167/0.6863, allocations: 125.7 kB / 0.7784 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001617/0.6879, allocations: 414.5 kB / 0.7788 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.6879, allocations: 2.219 kB / 0.7788 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007727/0.6887, allocations: 220.9 kB / 0.779 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.6891, allocations: 20.25 kB / 0.779 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.6935, allocations: 0.7572 MB / 0.7798 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.6937, allocations: 0.695 MB / 0.7805 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005282/0.6942, allocations: 89.66 kB / 0.7805 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.6945, allocations: 64.94 kB / 0.7806 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/0.6945, allocations: 0 / 0.7806 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of Templates: time 0.01014/0.7046, allocations: 3.57 MB / 0.7841 GB, free: 1.133 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.1345675848424435] Failed to read output from testmodel.py, exit status != 0: 0.7137054791674018 0.731390953 0.080841517 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f81bb7fd7b0>