Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.00161/0.00161, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.0021/0.0021, allocations: 212.8 kB / 23.02 MB, free: 4.953 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.04301/0.04301, allocations: 8.54 MB / 321.7 MB, free: 10.41 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.89 kB / 447.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0953/0.09736, allocations: 55.41 MB / 0.4913 GB, free: 8.129 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005753/0.1031, allocations: 3.67 MB / 0.4949 GB, free: 4.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.1061, allocations: 1.878 MB / 0.4967 GB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.1063, allocations: 11.94 kB / 0.4967 GB, free: 2.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.1068, allocations: 214.7 kB / 0.4969 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.1074, allocations: 294.5 kB / 0.4972 GB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.1082, allocations: 378.3 kB / 0.4975 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.109, allocations: 0.6745 MB / 0.4982 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.1094, allocations: 253.7 kB / 0.4984 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.1098, allocations: 294.8 kB / 0.4987 GB, free: 460 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.1102, allocations: 346.5 kB / 0.4991 GB, free: 112 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.1103, allocations: 60 kB / 0.4991 GB, free: 52 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.1105, allocations: 124 kB / 0.4992 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.1108, allocations: 231.2 kB / 0.4995 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.1111, allocations: 282.3 kB / 0.4997 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1121, allocations: 0.9648 MB / 0.5007 GB, free: 14.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1121, allocations: 4 kB / 0.5007 GB, free: 14.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1121, allocations: 0 / 0.5007 GB, free: 14.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1121, allocations: 0 / 0.5007 GB, free: 14.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001831/0.114, allocations: 1.093 MB / 0.5017 GB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.114, allocations: 12.03 kB / 0.5017 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.231e-05/0.114, allocations: 17.19 kB / 0.5018 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.624e-05/0.1141, allocations: 86.64 kB / 0.5018 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1142, allocations: 96.33 kB / 0.5019 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.115, allocations: 0.5491 MB / 0.5025 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1151, allocations: 37 kB / 0.5025 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.1152, allocations: 51.94 kB / 0.5026 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009568/0.1161, allocations: 483.8 kB / 0.503 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.1162, allocations: 8 kB / 0.503 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.1162, allocations: 16 kB / 0.503 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.1162, allocations: 12 kB / 0.5031 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008882/0.1171, allocations: 351.7 kB / 0.5034 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.1198, allocations: 1.658 MB / 0.505 GB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.1206, allocations: 338.1 kB / 0.5053 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.121, allocations: 129.3 kB / 0.5055 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.121, allocations: 7.984 kB / 0.5055 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.1215, allocations: 195.3 kB / 0.5056 GB, free: 9.168 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.913e-06/0.1215, allocations: 3.938 kB / 0.5057 GB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001725/0.1232, allocations: 0.568 MB / 0.5062 GB, free: 8.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.1233, allocations: 55.41 kB / 0.5063 GB, free: 8.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.1245, allocations: 0.9652 MB / 0.5072 GB, free: 7.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.1245, allocations: 29.7 kB / 0.5072 GB, free: 7.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.1248, allocations: 380.5 kB / 0.5076 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.1249, allocations: 103.2 kB / 0.5077 GB, free: 7.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1251, allocations: 82.08 kB / 0.5078 GB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1252, allocations: 333.8 kB / 0.5081 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.1256, allocations: 162.5 kB / 0.5082 GB, free: 6.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.1261, allocations: 236.8 kB / 0.5085 GB, free: 6.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.1269, allocations: 372 kB / 0.5088 GB, free: 5.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1269, allocations: 4 kB / 0.5088 GB, free: 5.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001198/0.1281, allocations: 0.5596 MB / 0.5094 GB, free: 5.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.1281, allocations: 36.45 kB / 0.5094 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1281, allocations: 4 kB / 0.5094 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.1284, allocations: 64.75 kB / 0.5095 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/0.1287, allocations: 75.89 kB / 0.5095 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.1305, allocations: 1.703 MB / 0.5112 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.1308, allocations: 55.7 kB / 0.5113 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1308, allocations: 12 kB / 0.5113 GB, free: 3.141 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003239/0.1311, allocations: 277.7 kB / 0.5115 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.1312, allocations: 67.53 kB / 0.5116 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1323, allocations: 438.2 kB / 0.512 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.1323, allocations: 4 kB / 0.512 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1323, allocations: 3.984 kB / 0.512 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1323, allocations: 4 kB / 0.512 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.1329, allocations: 0.4924 MB / 0.5125 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1329, allocations: 0 / 0.5125 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.1332, allocations: 51.95 kB / 0.5126 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.1334, allocations: 52.81 kB / 0.5126 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.1334, allocations: 8 kB / 0.5126 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.176/0.3095, allocations: 1.692 MB / 0.5143 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3095, allocations: 0 / 0.5143 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3108, allocations: 0.5944 MB / 0.5149 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.3109, allocations: 90.62 kB / 0.5149 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.311, allocations: 10.19 kB / 0.515 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.3112, allocations: 28.48 kB / 0.515 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.405e-05/0.3113, allocations: 27.66 kB / 0.515 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.3114, allocations: 9.703 kB / 0.515 GB, free: 26.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006972/0.3121, allocations: 0.6823 MB / 0.5157 GB, free: 26.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3121, allocations: 1.375 kB / 0.5157 GB, free: 26.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005164/0.3126, allocations: 140.2 kB / 0.5158 GB, free: 26.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003664/0.3162, allocations: 1.695 MB / 0.5175 GB, free: 25.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009893/0.3172, allocations: 0.5273 MB / 0.518 GB, free: 25.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3172, allocations: 0 / 0.518 GB, free: 25.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.3177, allocations: 285.9 kB / 0.5183 GB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.3181, allocations: 92.62 kB / 0.5183 GB, free: 25.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008422/0.3266, allocations: 6.65 MB / 0.5248 GB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3269, allocations: 368.3 kB / 0.5252 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000219/0.3272, allocations: 80.58 kB / 0.5253 GB, free: 22.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.3275, allocations: 259.5 kB / 0.5255 GB, free: 22.72 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3275, allocations: 0 / 0.5255 GB, free: 22.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05503/0.3825, allocations: 14.74 MB / 0.5399 GB, free: 17.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.28, allocations: 15.77 kB / 0.5399 GB, free: 17.71 MB / 382.1 MB " [Timeout remaining time 645] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.01660160999745] Failed to read output from testmodel.py, exit status != 0: 14.512797640054487 14.523371833 14.409057659 Calling exit ...