Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.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.001178/0.001178, allocations: 85.19 kB / 19.18 MB, free: 2.504 MB / 14.72 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.001429/0.001429, allocations: 169.4 kB / 22.46 MB, free: 5.379 MB / 14.72 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 1.389/1.389, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0397/0.0397, allocations: 6.488 MB / 265.7 MB, free: 10.27 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 392.1 MB, free: 9.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.108e-05, allocations: 8.812 kB / 392.1 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.006637/0.006658, allocations: 4.547 MB / 396.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.01049, allocations: 2.414 MB / 399.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.01078, allocations: 23.81 kB / 399.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.01143, allocations: 373.8 kB / 399.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000939/0.01237, allocations: 485.4 kB / 400 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.01369, allocations: 0.7107 MB / 400.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001334/0.01503, allocations: 1.247 MB / 401.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.01552, allocations: 291.5 kB / 402.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007591/0.01628, allocations: 0.6741 MB / 402.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.0169, allocations: 486.6 kB / 403.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.01706, allocations: 108 kB / 403.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.01742, allocations: 235.7 kB / 403.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.01785, allocations: 438.5 kB / 404.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.01829, allocations: 394.8 kB / 404.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.02011, allocations: 1.698 MB / 406.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.02011, allocations: 0 / 406.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.02011, allocations: 0 / 406.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.02012, allocations: 0 / 406.2 MB, free: 11.59 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002798/0.02292, allocations: 1.73 MB / 407.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.02296, allocations: 8.031 kB / 407.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.02321, allocations: 167.9 kB / 408.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.02468, allocations: 0.9459 MB / 409.1 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.02473, allocations: 54.38 kB / 409.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.02485, allocations: 84.25 kB / 409.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.02639, allocations: 0.9134 MB / 410.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.02642, allocations: 0 / 410.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/0.02649, allocations: 32 kB / 410.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.02651, allocations: 23.98 kB / 410.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.02782, allocations: 0.5242 MB / 410.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.032, allocations: 2.671 MB / 413.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.03345, allocations: 0.5395 MB / 413.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.03396, allocations: 188.7 kB / 414.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.034, allocations: 8 kB / 414.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006427/0.03464, allocations: 271.2 kB / 414.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.973e-06/0.03464, allocations: 0 / 414.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002076/0.03672, allocations: 0.7646 MB / 415.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.03685, allocations: 213.8 kB / 415.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.0392, allocations: 1.794 MB / 417.1 MB, free: 356 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.03925, allocations: 37.7 kB / 417.2 MB, free: 312 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/0.03984, allocations: 0.6307 MB / 417.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.03999, allocations: 158.6 kB / 417.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.0402, allocations: 130.3 kB / 418.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.04037, allocations: 337.9 kB / 418.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.04097, allocations: 257 kB / 418.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.04184, allocations: 0.5596 MB / 419.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.04309, allocations: 0.5716 MB / 419.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.04309, allocations: 4 kB / 419.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001758/0.04485, allocations: 0.8449 MB / 420.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.0449, allocations: 40.5 kB / 420.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.04491, allocations: 4 kB / 420.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.04512, allocations: 37.7 kB / 420.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.04568, allocations: 148.1 kB / 420.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.04782, allocations: 2.489 MB / 423.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.04829, allocations: 87.95 kB / 423.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.04834, allocations: 24 kB / 423.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009507/0.04929, allocations: 0.5731 MB / 424 MB, free: 9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007534/0.05004, allocations: 0.5362 MB / 424.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001047/0.05109, allocations: 0.5287 MB / 425.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.05109, allocations: 4 kB / 425.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001548/0.05264, allocations: 0.8019 MB / 425.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.05267, allocations: 37.69 kB / 425.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.05268, allocations: 0 / 425.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001351/0.05281, allocations: 45.7 kB / 426 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.0533, allocations: 136.1 kB / 426.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.05531, allocations: 2.482 MB / 428.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.05575, allocations: 76 kB / 428.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.05579, allocations: 20 kB / 428.7 MB, free: 3.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,iceT1.tokgFuel.local_reset,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.056, allocations: 232.6 kB / 428.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.05618, allocations: 127.1 kB / 429 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.05769, allocations: 0.6052 MB / 429.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.0577, allocations: 4 kB / 429.6 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.0577, allocations: 7.875 kB / 429.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.05771, allocations: 0 / 429.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/0.05859, allocations: 0.6804 MB / 430.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.05859, allocations: 3.984 kB / 430.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.05905, allocations: 99.94 kB / 430.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.05919, allocations: 37.7 kB / 430.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.05923, allocations: 11.98 kB / 430.5 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/0.06126, allocations: 2.479 MB / 433 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.06126, allocations: 0 / 433 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.06323, allocations: 0.8463 MB / 433.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.06349, allocations: 159.2 kB / 434 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.06361, allocations: 19.92 kB / 434 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.064, allocations: 31.97 kB / 434 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.0641, allocations: 43.86 kB / 434.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.06413, allocations: 15.94 kB / 434.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.06581, allocations: 1.263 MB / 435.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06581, allocations: 0 / 435.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001064/0.06688, allocations: 438.8 kB / 435.8 MB, free: 12.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (inertia.w,loadTorque.phi,iceT.tokgFuel.y,inertia1.w,iceT1.tokgFuel.y,loadTorque1.phi) * Number of discrete variables: 3 ($whenCondition1,tauRef.T_start,tauRef.count) * Number of discrete states: 1 (tauRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002782/0.06966, allocations: 0.7512 MB / 436.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002586/0.07225, allocations: 1.392 MB / 437.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.07225, allocations: 0 / 437.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008374/0.07309, allocations: 453.8 kB / 438.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/0.07392, allocations: 176.4 kB / 438.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.07773, allocations: 2.412 MB / 440.9 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/0.07841, allocations: 0.608 MB / 441.5 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000409/0.07882, allocations: 178.5 kB / 441.7 MB, free: 6.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.07903, allocations: 76.47 kB / 441.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.07903, allocations: 0 / 441.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of Templates: time 0.1556/0.2346, allocations: 13.09 MB / 454.9 MB, free: 61.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.57034719735384] Failed to read output from testmodel.py, exit status != 0: 0.24247100204229355 0.252381157 0.23018757 Calling exit ...