Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_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.005767/0.005767, allocations: 98.27 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.03996/0.03996, allocations: 8.021 MB / 298.6 MB, free: 6.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 63.89 kB / 412.6 MB, free: 22.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07787/0.07968, allocations: 51.19 MB / 463.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004649/0.08437, allocations: 3.188 MB / 467 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.08578, allocations: 0.799 MB / 467.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.08596, allocations: 7.938 kB / 467.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.08646, allocations: 287 kB / 468 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.08687, allocations: 215 kB / 468.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.08748, allocations: 286 kB / 468.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005351/0.08802, allocations: 0.4912 MB / 469 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.08838, allocations: 203.1 kB / 469.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.08863, allocations: 207.3 kB / 469.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.08898, allocations: 291 kB / 469.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.08906, allocations: 40 kB / 469.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.0892, allocations: 60 kB / 469.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.0894, allocations: 187.4 kB / 470 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.08969, allocations: 302.1 kB / 470.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007894/0.09049, allocations: 0.7235 MB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.0905, allocations: 0 / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09051, allocations: 0 / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.09052, allocations: 0 / 471 MB, free: 12.29 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.001606/0.09213, allocations: 1.044 MB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.09218, allocations: 12.03 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.358e-05/0.09225, allocations: 66.72 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.09237, allocations: 80.42 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.09309, allocations: 0.5551 MB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.09314, allocations: 28.66 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.0932, allocations: 28 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/0.09394, allocations: 377.2 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.09397, allocations: 4 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.09402, allocations: 23.92 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.09403, allocations: 8 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007343/0.09477, allocations: 258.4 kB / 473.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.09698, allocations: 1.667 MB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009248/0.09792, allocations: 290.6 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.09825, allocations: 104.8 kB / 475.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.09829, allocations: 4 kB / 475.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/0.09873, allocations: 171.2 kB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.053e-06/0.09874, allocations: 0 / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001982/0.1007, allocations: 0.6537 MB / 476.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.1008, allocations: 81.11 kB / 476.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.1019, allocations: 0.9728 MB / 477.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.1019, allocations: 33.7 kB / 477.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.1022, allocations: 344.4 kB / 477.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.1023, allocations: 71.39 kB / 477.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1024, allocations: 57.69 kB / 477.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1026, allocations: 374.8 kB / 478.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/0.103, allocations: 113.1 kB / 478.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.1034, allocations: 196.1 kB / 478.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.1041, allocations: 328.4 kB / 478.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1041, allocations: 0 / 478.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001285/0.1054, allocations: 0.5031 MB / 479.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.1055, allocations: 33.64 kB / 479.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1055, allocations: 8 kB / 479.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.1058, allocations: 69.03 kB / 479.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.106, allocations: 47.91 kB / 479.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.1084, allocations: 1.978 MB / 481.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.1087, allocations: 39.86 kB / 481.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.1088, allocations: 16.06 kB / 481.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005188/0.1093, allocations: 312.3 kB / 481.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003495/0.1097, allocations: 179.3 kB / 482.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006117/0.1103, allocations: 301.8 kB / 482.3 MB, free: 288 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.1103, allocations: 0 / 482.3 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009364/0.1112, allocations: 441.9 kB / 482.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.1113, allocations: 40.08 kB / 482.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.1113, allocations: 0 / 482.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.1114, allocations: 53.02 kB / 482.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.1117, allocations: 47.91 kB / 482.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.1132, allocations: 1.764 MB / 484.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.1135, allocations: 43.83 kB / 484.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.1136, allocations: 8 kB / 484.7 MB, free: 13.74 MB / 366.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 0.0001609/0.1137, allocations: 208.4 kB / 484.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.1138, allocations: 59.58 kB / 485 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1149, allocations: 399.8 kB / 485.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1149, allocations: 7.984 kB / 485.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1149, allocations: 0 / 485.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1149, allocations: 0 / 485.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.1155, allocations: 493.2 kB / 485.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1155, allocations: 192 / 485.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.1157, allocations: 47.83 kB / 485.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002557/0.116, allocations: 72.81 kB / 486 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.116, allocations: 4 kB / 486 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/0.1183, allocations: 1.951 MB / 487.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1184, allocations: 0 / 487.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1197, allocations: 0.5229 MB / 488.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.1199, allocations: 152.7 kB / 488.6 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.12, allocations: 8 kB / 488.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.1202, allocations: 27.91 kB / 488.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.1203, allocations: 28.14 kB / 488.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1203, allocations: 8 kB / 488.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008301/0.1212, allocations: 0.7138 MB / 489.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.1212, allocations: 0 / 489.4 MB, free: 8.824 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000817/0.122, allocations: 195.5 kB / 489.6 MB, free: 8.633 MB / 366.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.00278/0.1248, allocations: 1.313 MB / 490.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.1266, allocations: 0.8109 MB / 491.7 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1266, allocations: 4 kB / 491.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.1273, allocations: 294.6 kB / 492 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1277, allocations: 87.69 kB / 492.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008964/0.1367, allocations: 6.138 MB / 498.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.1373, allocations: 0.9295 MB / 499.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.1375, allocations: 59.25 kB / 499.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.1378, allocations: 219.4 kB / 499.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1378, allocations: 0 / 499.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.007/2.145, allocations: 13.26 MB / 0.5007 GB, free: 1.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.24/20.38, allocations: 10.92 kB / 0.5007 GB, free: 1.504 MB / 382.1 MB (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)