Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_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.001413/0.001413, allocations: 110 kB / 18.93 MB, free: 2.945 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.001735/0.001735, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.55/1.55, allocations: 225.6 MB / 251 MB, free: 13 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.176/1.176, allocations: 177.9 MB / 484.2 MB, free: 5.371 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 67.84 kB / 0.674 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.6978, allocations: 95.17 MB / 0.767 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001728/0.6995, allocations: 0.6183 MB / 0.7676 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.7001, allocations: 356.3 kB / 0.7679 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.984e-05/0.7002, allocations: 1.062 kB / 0.7679 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.7002, allocations: 3.938 kB / 0.7679 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.7002, allocations: 4 kB / 0.7679 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.7007, allocations: 122.7 kB / 0.768 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.7008, allocations: 26 kB / 0.7681 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.7008, allocations: 1.828 kB / 0.7681 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.7009, allocations: 11.56 kB / 0.7681 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.7009, allocations: 16.33 kB / 0.7681 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.7009, allocations: 1.469 kB / 0.7681 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.7013, allocations: 275.2 kB / 0.7684 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.7013, allocations: 9.031 kB / 0.7684 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.7013, allocations: 17.05 kB / 0.7684 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.7015, allocations: 106.6 kB / 0.7685 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7015, allocations: 1.469 kB / 0.7685 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7015, allocations: 0 / 0.7685 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7015, allocations: 0 / 0.7685 GB, free: 7.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003718/0.7019, allocations: 281.7 kB / 0.7688 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.7019, allocations: 10.03 kB / 0.7688 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.702, allocations: 3.031 kB / 0.7688 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.7021, allocations: 120.9 kB / 0.7689 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.7021, allocations: 6.719 kB / 0.7689 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.7021, allocations: 2.719 kB / 0.7689 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.7022, allocations: 49.16 kB / 0.7689 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.7022, allocations: 1.375 kB / 0.7689 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7023, allocations: 3.938 kB / 0.7689 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7023, allocations: 1.062 kB / 0.7689 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.7023, allocations: 18.33 kB / 0.769 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.7025, allocations: 143.4 kB / 0.7691 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.7026, allocations: 62.75 kB / 0.7692 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.7026, allocations: 25.53 kB / 0.7692 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/0.7031, allocations: 82.55 kB / 0.7693 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.7032, allocations: 35.81 kB / 0.7693 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.7032, allocations: 0 / 0.7693 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001138/0.7043, allocations: 459.2 kB / 0.7697 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.7043, allocations: 53.53 kB / 0.7698 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.247e-05/0.7044, allocations: 95.5 kB / 0.7699 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.7044, allocations: 34.73 kB / 0.7699 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.609e-05/0.7044, allocations: 82.64 kB / 0.77 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.7044, allocations: 35.38 kB / 0.77 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.7045, allocations: 27.36 kB / 0.77 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.7045, allocations: 318.1 kB / 0.7704 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.7046, allocations: 24.98 kB / 0.7704 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.7046, allocations: 23.56 kB / 0.7704 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/0.7047, allocations: 57.27 kB / 0.7705 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.7047, allocations: 1.219 kB / 0.7705 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001552/0.7048, allocations: 106.5 kB / 0.7706 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7049, allocations: 5.531 kB / 0.7706 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7049, allocations: 1.078 kB / 0.7706 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7049, allocations: 1.75 kB / 0.7706 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.705, allocations: 23.38 kB / 0.7706 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.705, allocations: 2.828 kB / 0.7706 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.705, allocations: 9.094 kB / 0.7706 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.705, allocations: 2.875 kB / 0.7706 GB, free: 5.617 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 5.336e-05/0.7051, allocations: 112.2 kB / 0.7707 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.7051, allocations: 10.73 kB / 0.7707 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.7053, allocations: 108.1 kB / 0.7708 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7053, allocations: 1.219 kB / 0.7708 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.7053, allocations: 3.938 kB / 0.7708 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7053, allocations: 0 / 0.7708 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.7057, allocations: 329.4 kB / 0.7711 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7057, allocations: 0.8125 kB / 0.7711 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.7058, allocations: 21.09 kB / 0.7712 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7058, allocations: 0.7812 kB / 0.7712 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.7058, allocations: 9.312 kB / 0.7712 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7058, allocations: 0.5625 kB / 0.7712 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7058, allocations: 0.6875 kB / 0.7712 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.706, allocations: 228.3 kB / 0.7714 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.706, allocations: 10.36 kB / 0.7714 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.7061, allocations: 0.875 kB / 0.7714 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.7061, allocations: 6.594 kB / 0.7714 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.7062, allocations: 8.312 kB / 0.7714 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.7062, allocations: 2.438 kB / 0.7714 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.7062, allocations: 82.19 kB / 0.7715 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7062, allocations: 3.938 kB / 0.7715 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002937/0.7065, allocations: 42.88 kB / 0.7715 GB, free: 4.84 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.000218/0.7067, allocations: 144.6 kB / 0.7717 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.7069, allocations: 57.92 kB / 0.7717 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7069, allocations: 0 / 0.7717 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.241e-05/0.7069, allocations: 34.97 kB / 0.7718 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.7071, allocations: 7 kB / 0.7718 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.7075, allocations: 181.6 kB / 0.7719 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.7076, allocations: 0.6885 MB / 0.7726 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.7077, allocations: 8.078 kB / 0.7726 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.7077, allocations: 12.09 kB / 0.7726 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.7077, allocations: 1.25 kB / 0.7726 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of Templates: time 0.004756/0.7124, allocations: 1.467 MB / 0.7741 GB, free: 3.715 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.842674154788256] Failed to read output from testmodel.py, exit status != 0: 0.7210714081302285 0.735387537 0.030001991000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f93d65797b0>