Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001417/0.001417, 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.001656/0.001656, allocations: 185.8 kB / 22.22 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.572/1.572, allocations: 225.6 MB / 251 MB, free: 13.02 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.189/1.189, allocations: 177.9 MB / 484.2 MB, free: 5.359 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 72.62 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8607/0.8631, allocations: 95.17 MB / 0.7669 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006069/0.8692, allocations: 4.14 MB / 0.7709 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.8726, allocations: 1.344 MB / 0.7722 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.8733, allocations: 29.53 kB / 0.7723 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.8737, allocations: 127.2 kB / 0.7724 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004526/0.8741, allocations: 188.4 kB / 0.7726 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.8752, allocations: 426.1 kB / 0.773 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.8763, allocations: 0.9566 MB / 0.7739 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005484/0.8768, allocations: 303.2 kB / 0.7742 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.8772, allocations: 356 kB / 0.7745 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.8776, allocations: 330.4 kB / 0.7749 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.8778, allocations: 90.47 kB / 0.7749 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.8779, allocations: 91.19 kB / 0.775 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.8781, allocations: 179.8 kB / 0.7752 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.8784, allocations: 389.5 kB / 0.7756 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.8799, allocations: 1.068 MB / 0.7766 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8799, allocations: 0 / 0.7766 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8799, allocations: 0.7188 kB / 0.7766 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.88, allocations: 0.7031 kB / 0.7766 GB, free: 1.891 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002241/0.8822, allocations: 1.083 MB / 0.7777 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.8823, allocations: 12.25 kB / 0.7777 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.8824, allocations: 87.05 kB / 0.7778 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.8835, allocations: 0.5074 MB / 0.7783 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.8836, allocations: 41.53 kB / 0.7783 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.8837, allocations: 60.02 kB / 0.7784 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.8849, allocations: 0.6119 MB / 0.779 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.8849, allocations: 1.891 kB / 0.779 GB, free: 432 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.885, allocations: 26.3 kB / 0.779 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.885, allocations: 12.8 kB / 0.779 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.886, allocations: 461.1 kB / 0.7794 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/0.8897, allocations: 1.949 MB / 0.7813 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.8909, allocations: 424.9 kB / 0.7818 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004866/0.8914, allocations: 225.9 kB / 0.782 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.8914, allocations: 6.094 kB / 0.782 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/0.8921, allocations: 264.1 kB / 0.7822 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 3.407e-06/0.8921, allocations: 2.625 kB / 0.7822 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001507/0.8936, allocations: 0.58 MB / 0.7828 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.8937, allocations: 60.7 kB / 0.7829 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/0.8943, allocations: 442.4 kB / 0.7833 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/0.8943, allocations: 38.39 kB / 0.7833 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.8947, allocations: 338.2 kB / 0.7836 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.8948, allocations: 171.8 kB / 0.7838 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.895, allocations: 88.41 kB / 0.7839 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.8952, allocations: 365.1 kB / 0.7842 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.8956, allocations: 167.8 kB / 0.7844 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.8961, allocations: 249.3 kB / 0.7846 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.8971, allocations: 456.7 kB / 0.7851 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.8971, allocations: 0 / 0.7851 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001221/0.8983, allocations: 0.5574 MB / 0.7856 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.8984, allocations: 39.73 kB / 0.7856 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.8984, allocations: 4 kB / 0.7856 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.8984, allocations: 4.781 kB / 0.7857 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.8989, allocations: 114.5 kB / 0.7858 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8989, allocations: 5.234 kB / 0.7858 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.8993, allocations: 59.5 kB / 0.7858 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.8994, allocations: 19.27 kB / 0.7858 GB, free: 12.42 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.000333/0.8997, allocations: 214 kB / 0.786 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.8998, allocations: 55.33 kB / 0.7861 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.8999, allocations: 67.44 kB / 0.7862 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.9, allocations: 4.688 kB / 0.7862 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.9, allocations: 3.938 kB / 0.7862 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.9, allocations: 6.672 kB / 0.7862 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.902, allocations: 1.153 MB / 0.7873 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.902, allocations: 0.5938 kB / 0.7873 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.9025, allocations: 94.86 kB / 0.7874 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.9025, allocations: 9.266 kB / 0.7874 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.9026, allocations: 14.08 kB / 0.7874 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.9026, allocations: 4.062 kB / 0.7874 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9026, allocations: 0 / 0.7874 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.9041, allocations: 0.7607 MB / 0.7882 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.9043, allocations: 98.11 kB / 0.7883 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.9044, allocations: 11.98 kB / 0.7883 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.9047, allocations: 22.83 kB / 0.7883 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.9048, allocations: 42.2 kB / 0.7883 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.9048, allocations: 13.64 kB / 0.7883 GB, free: 11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004384/0.9052, allocations: 308.7 kB / 0.7886 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.9052, allocations: 0 / 0.7886 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005043/0.9058, allocations: 138.9 kB / 0.7888 GB, free: 10.81 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001573/0.9059, allocations: 111.4 kB / 0.7889 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.9069, allocations: 463.4 kB / 0.7893 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.9069, allocations: 0 / 0.7893 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.9074, allocations: 205.3 kB / 0.7895 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008869/0.9083, allocations: 161.1 kB / 0.7897 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.912, allocations: 1.368 MB / 0.791 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/0.9129, allocations: 0.8916 MB / 0.7919 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003779/0.9132, allocations: 59.42 kB / 0.7919 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.9134, allocations: 40.25 kB / 0.792 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of SimCode: time 1.163e-06/0.9134, allocations: 0 / 0.792 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of Templates: time 0.01943/0.9328, allocations: 6.29 MB / 0.7981 GB, free: 7.906 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5762376906350255] Failed to read output from testmodel.py, exit status != 0: 0.9433649675920606 0.959265682 0.07578236 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5877df97b0>