Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001285/0.001285, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.001492/0.001492, allocations: 163.4 kB / 22.46 MB, free: 5.355 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04021/0.04021, allocations: 6.505 MB / 265.7 MB, free: 10.25 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 392.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.01e-05/3.327e-05, allocations: 2.281 kB / 392.2 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.01139/0.01142, allocations: 4.55 MB / 396.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008253/0.01967, allocations: 2.411 MB / 399.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.02077, allocations: 23.81 kB / 399.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.02221, allocations: 369.9 kB / 399.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.02474, allocations: 481.4 kB / 400 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.02798, allocations: 0.7213 MB / 400.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002842/0.03082, allocations: 1.239 MB / 401.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008717/0.03169, allocations: 295.5 kB / 402.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.03312, allocations: 0.6741 MB / 402.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.03421, allocations: 490.6 kB / 403.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002666/0.03448, allocations: 108 kB / 403.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007207/0.0352, allocations: 231.7 kB / 403.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005817/0.03578, allocations: 438.6 kB / 404.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.03628, allocations: 390.7 kB / 404.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.03841, allocations: 1.698 MB / 406.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.03842, allocations: 3.984 kB / 406.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03842, allocations: 0 / 406.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.03843, allocations: 4 kB / 406.2 MB, free: 11.57 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.002969/0.0414, allocations: 1.722 MB / 407.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.04144, allocations: 12.03 kB / 408 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.04171, allocations: 167.9 kB / 408.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.04326, allocations: 0.9498 MB / 409.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.04332, allocations: 54.38 kB / 409.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.04344, allocations: 76.33 kB / 409.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.04507, allocations: 0.9173 MB / 410.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.0451, allocations: 3.984 kB / 410.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.04517, allocations: 36 kB / 410.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.04519, allocations: 16 kB / 410.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.04658, allocations: 0.5242 MB / 410.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.05133, allocations: 2.675 MB / 413.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.05288, allocations: 0.5272 MB / 413.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005213/0.0534, allocations: 192.7 kB / 414.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.05344, allocations: 4 kB / 414.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006963/0.05414, allocations: 272.1 kB / 414.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.05414, allocations: 0 / 414.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002309/0.05645, allocations: 0.7648 MB / 415.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.0566, allocations: 221.5 kB / 415.3 MB, free: 2.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.05916, allocations: 1.79 MB / 417.1 MB, free: 344 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.05922, allocations: 37.7 kB / 417.2 MB, free: 300 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.05986, allocations: 0.6229 MB / 417.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.06004, allocations: 158.6 kB / 417.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.06027, allocations: 142.2 kB / 418.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.06046, allocations: 334 kB / 418.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.06112, allocations: 253 kB / 418.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.06202, allocations: 0.5596 MB / 419.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.06335, allocations: 0.5716 MB / 419.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.06336, allocations: 4 kB / 419.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00195/0.06531, allocations: 0.8452 MB / 420.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.406e-05/0.06535, allocations: 40.86 kB / 420.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.06536, allocations: 4 kB / 420.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.0656, allocations: 45.7 kB / 420.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.06618, allocations: 143.7 kB / 420.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.06849, allocations: 2.493 MB / 423.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.06902, allocations: 87.64 kB / 423.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.06907, allocations: 20 kB / 423.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/0.07011, allocations: 0.5734 MB / 424 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008266/0.07094, allocations: 0.5362 MB / 424.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001129/0.07207, allocations: 0.5248 MB / 425.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.07207, allocations: 11.94 kB / 425.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.001716/0.07379, allocations: 0.8022 MB / 425.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.07383, allocations: 37.7 kB / 425.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.07384, allocations: 4 kB / 426 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.07399, allocations: 37.7 kB / 426 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.07452, allocations: 135.8 kB / 426.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.07677, allocations: 2.49 MB / 428.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.07729, allocations: 63.7 kB / 428.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.07734, allocations: 28 kB / 428.7 MB, free: 3.918 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.0002511/0.07759, allocations: 228.9 kB / 428.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.07779, allocations: 131.1 kB / 429.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.07943, allocations: 0.6013 MB / 429.7 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.07944, allocations: 4 kB / 429.7 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.07944, allocations: 3.938 kB / 429.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.07945, allocations: 7.984 kB / 429.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.08043, allocations: 0.6804 MB / 430.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.08043, allocations: 64 / 430.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.08092, allocations: 95.81 kB / 430.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/0.08108, allocations: 45.7 kB / 430.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/0.08111, allocations: 7.984 kB / 430.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.08328, allocations: 2.483 MB / 433 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.08328, allocations: 4.062 kB / 433 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.08539, allocations: 0.8539 MB / 433.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.08569, allocations: 155.2 kB / 434 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.08581, allocations: 15.94 kB / 434 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.08622, allocations: 35.95 kB / 434 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.08632, allocations: 35.94 kB / 434.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.08636, allocations: 16 kB / 434.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001864/0.08823, allocations: 1.259 MB / 435.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.08823, allocations: 0 / 435.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001227/0.08945, allocations: 446.8 kB / 435.8 MB, free: 12.53 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.003017/0.09247, allocations: 0.7426 MB / 436.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002903/0.09537, allocations: 1.396 MB / 437.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.09538, allocations: 0 / 437.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008873/0.09627, allocations: 449.3 kB / 438.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009395/0.0972, allocations: 184.4 kB / 438.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.1018, allocations: 2.423 MB / 441 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/0.1026, allocations: 0.6003 MB / 441.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004975/0.1031, allocations: 170.6 kB / 441.7 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.1033, allocations: 76.47 kB / 441.8 MB, free: 6.668 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1033, allocations: 0 / 441.8 MB, free: 6.668 MB / 366.1 MB Notification: Performance of Templates: time 0.1909/0.2942, allocations: 13.09 MB / 454.9 MB, free: 61.49 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.076672073453665] Failed to read output from testmodel.py, exit status != 0: 0.30427946150302887 0.31273003 0.27190895400000004 Calling exit ...