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.0007726/0.0007726, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000799/0.000799, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8538/0.8538, allocations: 177.1 MB / 203.5 MB, free: 5.586 MB / 186.7 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.02382/0.02382, allocations: 6.472 MB / 266.4 MB, free: 6.684 MB / 250.7 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.753e-06/1.753e-06, allocations: 0 / 392.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.565e-05, allocations: 2.281 kB / 392.9 MB, free: 5.062 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceTmultipliers): time 0.004441/0.004457, allocations: 4.55 MB / 397.4 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.00682, allocations: 2.414 MB / 399.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.007089, allocations: 19.88 kB / 399.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.007496, allocations: 369.8 kB / 400.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000879/0.008375, allocations: 485.4 kB / 400.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.009183, allocations: 0.7249 MB / 401.4 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008809/0.01006, allocations: 1.243 MB / 402.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.01042, allocations: 287.5 kB / 403 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.01093, allocations: 0.6742 MB / 403.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.01137, allocations: 486.6 kB / 404.1 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.846e-05/0.01147, allocations: 112 kB / 404.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002663/0.01174, allocations: 239.7 kB / 404.5 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.01197, allocations: 438.5 kB / 404.9 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.01222, allocations: 386.8 kB / 405.3 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.01333, allocations: 1.694 MB / 407 MB, free: 6.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.01334, allocations: 0 / 407 MB, free: 6.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01334, allocations: 3.938 kB / 407 MB, free: 6.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.01335, allocations: 0 / 407 MB, free: 6.938 MB / 378.7 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.002288/0.01564, allocations: 1.734 MB / 408.7 MB, free: 5.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.01568, allocations: 8.031 kB / 408.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/0.01584, allocations: 171.9 kB / 408.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009495/0.01679, allocations: 0.942 MB / 409.8 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.01683, allocations: 54.38 kB / 409.9 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.0169, allocations: 80.31 kB / 409.9 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008692/0.01777, allocations: 0.9211 MB / 410.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.01779, allocations: 3.953 kB / 410.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.01783, allocations: 28 kB / 410.9 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.01784, allocations: 16 kB / 410.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007077/0.01855, allocations: 0.5281 MB / 411.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.02126, allocations: 2.667 MB / 414.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/0.02212, allocations: 0.5377 MB / 414.6 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.02238, allocations: 188.7 kB / 414.8 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.02242, allocations: 11.98 kB / 414.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006898/0.02311, allocations: 271.1 kB / 415.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.02311, allocations: 0 / 415.1 MB, free: 14.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001152/0.02426, allocations: 0.7725 MB / 415.9 MB, free: 13.74 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.02434, allocations: 213.6 kB / 416.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.02577, allocations: 1.794 MB / 417.9 MB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.0258, allocations: 41.69 kB / 417.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.02615, allocations: 0.6161 MB / 418.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.02623, allocations: 162.6 kB / 418.7 MB, free: 10.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.02636, allocations: 126.3 kB / 418.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/0.02645, allocations: 337.9 kB / 419.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.02677, allocations: 261 kB / 419.4 MB, free: 10.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.02719, allocations: 0.5557 MB / 420 MB, free: 9.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.02782, allocations: 0.5755 MB / 420.5 MB, free: 8.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.02782, allocations: 0 / 420.5 MB, free: 8.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009398/0.02876, allocations: 0.8447 MB / 421.4 MB, free: 7.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.0288, allocations: 42.12 kB / 421.4 MB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.02881, allocations: 8 kB / 421.4 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.02898, allocations: 37.7 kB / 421.5 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.02925, allocations: 143.8 kB / 421.6 MB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.03075, allocations: 2.493 MB / 424.1 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.03101, allocations: 83.58 kB / 424.2 MB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.03103, allocations: 20 kB / 424.2 MB, free: 4.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005486/0.03158, allocations: 0.5733 MB / 424.8 MB, free: 4.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000385/0.03197, allocations: 0.5361 MB / 425.3 MB, free: 3.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005369/0.03251, allocations: 0.5326 MB / 425.8 MB, free: 3.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.816e-06/0.03251, allocations: 4 kB / 425.8 MB, free: 3.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.0008071/0.03331, allocations: 0.8022 MB / 426.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.03334, allocations: 41.72 kB / 426.7 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.03334, allocations: 0 / 426.7 MB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.402e-05/0.03343, allocations: 45.7 kB / 426.7 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.03366, allocations: 131.8 kB / 426.9 MB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.03496, allocations: 2.493 MB / 429.4 MB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.03517, allocations: 67.7 kB / 429.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.0352, allocations: 23.98 kB / 429.4 MB, free: 15.26 MB / 410.7 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.0001316/0.03533, allocations: 236.2 kB / 429.7 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-05/0.03543, allocations: 127.1 kB / 429.8 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.03618, allocations: 0.6013 MB / 430.4 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.03618, allocations: 4 kB / 430.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.03618, allocations: 7.938 kB / 430.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.03619, allocations: 0 / 430.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.03672, allocations: 0.6804 MB / 431.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03672, allocations: 3.938 kB / 431.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.03694, allocations: 91.92 kB / 431.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.603e-05/0.03702, allocations: 37.64 kB / 431.2 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.03704, allocations: 12 kB / 431.2 MB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009797/0.03802, allocations: 2.487 MB / 433.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03802, allocations: 0 / 433.7 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.03903, allocations: 0.8464 MB / 434.6 MB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.03918, allocations: 163.2 kB / 434.7 MB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.03924, allocations: 15.92 kB / 434.7 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.03941, allocations: 35.97 kB / 434.8 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.03948, allocations: 39.86 kB / 434.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.03949, allocations: 12 kB / 434.8 MB, free: 9.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0013/0.04079, allocations: 1.263 MB / 436.1 MB, free: 8.309 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.04079, allocations: 0 / 436.1 MB, free: 8.309 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007164/0.04151, allocations: 442.8 kB / 436.5 MB, free: 7.875 MB / 410.7 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.001161/0.04267, allocations: 0.7504 MB / 437.3 MB, free: 7.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.0441, allocations: 1.388 MB / 438.7 MB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.04411, allocations: 4.062 kB / 438.7 MB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.04448, allocations: 445.3 kB / 439.1 MB, free: 5.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.04498, allocations: 180.8 kB / 439.3 MB, free: 5.332 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.0476, allocations: 2.472 MB / 441.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.04805, allocations: 0.598 MB / 442.4 MB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.04821, allocations: 80.47 kB / 442.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.04821, allocations: 0 / 442.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of Templates: time 0.165/0.2132, allocations: 26.03 MB / 468.5 MB, free: 84.14 MB / 410.7 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: 6.092247871682048] Failed to read output from testmodel.py, exit status != 0: 0.2179266083985567 0.226957033 0.21194589200000002 Calling exit ...