Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_main_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_main_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 108 kB / 15.58 MB, free: 184 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 197 kB / 16.5 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1201/0.1201, allocations: 8.023 MB / 298.4 MB, free: 2.414 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.91 kB / 360.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07594/0.07705, allocations: 51.2 MB / 411.8 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004382/0.08146, allocations: 3.176 MB / 415 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.08276, allocations: 0.7989 MB / 415.8 MB, free: 7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.08296, allocations: 11.94 kB / 415.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.08338, allocations: 283 kB / 416.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.08376, allocations: 219 kB / 416.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.08434, allocations: 291.1 kB / 416.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.08476, allocations: 0.4913 MB / 417.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.08505, allocations: 195.1 kB / 417.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.08525, allocations: 211.3 kB / 417.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.08551, allocations: 287 kB / 417.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.08557, allocations: 40 kB / 417.8 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.08569, allocations: 67.98 kB / 417.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.08586, allocations: 191.4 kB / 418.1 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.08609, allocations: 294.2 kB / 418.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.08664, allocations: 0.7046 MB / 419.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.08665, allocations: 0 / 419.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.08666, allocations: 0 / 419.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.08667, allocations: 0 / 419.1 MB, free: 3.75 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001401/0.08807, allocations: 1.009 MB / 420.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.08811, allocations: 19.97 kB / 420.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.08818, allocations: 66.72 kB / 420.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.52e-05/0.08829, allocations: 79.94 kB / 420.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.08889, allocations: 0.5428 MB / 420.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.08892, allocations: 20.66 kB / 420.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.08899, allocations: 35.98 kB / 420.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.08963, allocations: 377.2 kB / 421.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.08966, allocations: 7.938 kB / 421.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.08969, allocations: 12 kB / 421.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.08971, allocations: 8 kB / 421.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.09035, allocations: 266.4 kB / 421.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1221/0.2125, allocations: 1.666 MB / 423.2 MB, free: 43.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.2133, allocations: 288.2 kB / 423.4 MB, free: 43.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.2136, allocations: 108.7 kB / 423.5 MB, free: 43.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.2136, allocations: 2.531 kB / 423.5 MB, free: 43.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003758/0.214, allocations: 168.4 kB / 423.7 MB, free: 43.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.394e-06/0.214, allocations: 0 / 423.7 MB, free: 43.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00161/0.2157, allocations: 0.6426 MB / 424.3 MB, free: 43.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2157, allocations: 89 kB / 424.4 MB, free: 43.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.2165, allocations: 0.9747 MB / 425.4 MB, free: 43.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.2165, allocations: 29.02 kB / 425.4 MB, free: 43.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2167, allocations: 343.6 kB / 425.8 MB, free: 43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.2168, allocations: 74.33 kB / 425.8 MB, free: 42.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.2168, allocations: 50.7 kB / 425.9 MB, free: 42.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.2169, allocations: 379.5 kB / 426.3 MB, free: 42.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.2172, allocations: 117 kB / 426.4 MB, free: 42.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.2175, allocations: 195.9 kB / 426.6 MB, free: 42.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.218, allocations: 314.7 kB / 426.9 MB, free: 42.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.218, allocations: 3.156 kB / 426.9 MB, free: 42.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009691/0.219, allocations: 0.501 MB / 427.4 MB, free: 42.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.219, allocations: 34.94 kB / 427.4 MB, free: 42.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.219, allocations: 2.938 kB / 427.4 MB, free: 42.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.2193, allocations: 57.36 kB / 427.5 MB, free: 42.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2195, allocations: 61.66 kB / 427.5 MB, free: 42.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.2211, allocations: 1.968 MB / 429.5 MB, free: 40.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.2214, allocations: 50.45 kB / 429.6 MB, free: 40.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.2214, allocations: 10.09 kB / 429.6 MB, free: 40.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003687/0.2218, allocations: 318.1 kB / 429.9 MB, free: 40.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002457/0.2221, allocations: 183.6 kB / 430.1 MB, free: 40.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004492/0.2225, allocations: 306.6 kB / 430.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.2225, allocations: 0 / 430.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007136/0.2233, allocations: 432.7 kB / 430.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2233, allocations: 35.06 kB / 430.8 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2233, allocations: 3.406 kB / 430.8 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001093/0.2234, allocations: 48.28 kB / 430.9 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.2236, allocations: 59.08 kB / 430.9 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008693/0.2245, allocations: 1.757 MB / 432.7 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.2247, allocations: 41.27 kB / 432.7 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2248, allocations: 18.42 kB / 432.7 MB, free: 38.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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 7.883e-05/0.2248, allocations: 203.8 kB / 432.9 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.2249, allocations: 62.11 kB / 433 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.2257, allocations: 398.4 kB / 433.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2257, allocations: 0 / 433.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2257, allocations: 4.406 kB / 433.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.2257, allocations: 0 / 433.4 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.2261, allocations: 484.2 kB / 433.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2261, allocations: 0 / 433.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.2263, allocations: 49.59 kB / 433.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.2265, allocations: 69.47 kB / 434 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.2265, allocations: 10.5 kB / 434 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.2279, allocations: 1.947 MB / 435.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2279, allocations: 3.188 kB / 435.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009847/0.2289, allocations: 0.5185 MB / 436.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2291, allocations: 155.2 kB / 436.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.2291, allocations: 7.297 kB / 436.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.2293, allocations: 28.25 kB / 436.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.2294, allocations: 27.61 kB / 436.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.2294, allocations: 9.531 kB / 436.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.23, allocations: 0.7101 MB / 437.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.23, allocations: 0 / 437.4 MB, free: 35.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005834/0.2305, allocations: 195.3 kB / 437.6 MB, free: 35.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,ice.toKgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * 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.001774/0.2323, allocations: 1.303 MB / 438.9 MB, free: 34.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2336, allocations: 0.8031 MB / 439.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2336, allocations: 6.719 kB / 439.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.2341, allocations: 296.4 kB / 440 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.2345, allocations: 91.69 kB / 440.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.2412, allocations: 6.3 MB / 446.4 MB, free: 30.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2415, allocations: 0.9286 MB / 447.3 MB, free: 29.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.2416, allocations: 60.72 kB / 447.4 MB, free: 29.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.2418, allocations: 221.5 kB / 447.6 MB, free: 29.78 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2418, allocations: 0 / 447.6 MB, free: 29.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3919/0.6337, allocations: 12.97 MB / 460.6 MB, free: 28.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.37/27.01, allocations: 11.77 kB / 460.6 MB, free: 28.45 MB / 350.1 MB (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_MapBased_TestingModels_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_main_EHPTlib_MapBased_TestingModels_TestIceConn.fmu > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)