Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2286/0.2287, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002373, allocations: 91.84 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1207, allocations: 62.45 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008132/0.1289, allocations: 5.3 MB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003335/0.1323, allocations: 2.647 MB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1324, allocations: 0 / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1327, allocations: 43.69 kB / 488.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.1357, allocations: 1.058 MB / 489.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1361, allocations: 153.3 kB / 489.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.1365, allocations: 302.6 kB / 489.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.219e-05/0.1366, allocations: 17.55 kB / 489.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.1377, allocations: 0.6472 MB / 490.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.138, allocations: 159.5 kB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.138, allocations: 4 kB / 490.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.1401, allocations: 1.166 MB / 491.7 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.1402, allocations: 39.83 kB / 491.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1403, allocations: 75.66 kB / 491.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009243/0.1412, allocations: 0.5418 MB / 492.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1412, allocations: 0 / 492.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1413, allocations: 0 / 492.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1413, allocations: 0 / 492.4 MB, free: 8.977 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001079/0.1423, allocations: 0.5575 MB / 492.9 MB, free: 8.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1424, allocations: 12.03 kB / 492.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.343e-05/0.1425, allocations: 50.73 kB / 493 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004552/0.1429, allocations: 52.72 kB / 493 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1432, allocations: 212 kB / 493.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1432, allocations: 20.12 kB / 493.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1432, allocations: 12 kB / 493.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.1436, allocations: 240.5 kB / 493.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1437, allocations: 4 kB / 493.5 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.1437, allocations: 12 kB / 493.5 MB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1437, allocations: 4 kB / 493.5 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.1441, allocations: 233.4 kB / 493.7 MB, free: 7.457 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1455, allocations: 1.365 MB / 495.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.1458, allocations: 96.78 kB / 495.2 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.1458, allocations: 36.84 kB / 495.2 MB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001884/0.1477, allocations: 2.055 MB / 497.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.1481, allocations: 170.9 kB / 497.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 3.337e-06/0.1481, allocations: 0 / 497.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001008/0.1491, allocations: 359.8 kB / 497.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001676/0.1493, allocations: 269 kB / 498.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1495, allocations: 153.3 kB / 498.2 MB, free: 2.293 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1496, allocations: 29.7 kB / 498.3 MB, free: 2.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.1497, allocations: 143.7 kB / 498.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.1498, allocations: 75.34 kB / 498.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.1499, allocations: 61.61 kB / 498.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.15, allocations: 326.8 kB / 498.9 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.508e-05/0.1501, allocations: 39.98 kB / 498.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1504, allocations: 186.6 kB / 499.1 MB, free: 1.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.1507, allocations: 261.9 kB / 499.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1507, allocations: 0 / 499.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004351/0.1511, allocations: 257.3 kB / 499.6 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1512, allocations: 8 kB / 499.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1512, allocations: 4 kB / 499.6 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1512, allocations: 11.94 kB / 499.6 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.1517, allocations: 100.5 kB / 499.7 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004282/0.1521, allocations: 0.602 MB / 0.4886 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1523, allocations: 15.88 kB / 0.4886 GB, free: 16 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.1524, allocations: 20.05 kB / 0.4886 GB, free: 15.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.1525, allocations: 133.8 kB / 0.4887 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.1526, allocations: 19.75 kB / 0.4888 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.1531, allocations: 231.8 kB / 0.489 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1531, allocations: 0 / 0.489 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.1531, allocations: 7.938 kB / 0.489 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1531, allocations: 3.984 kB / 0.489 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.1536, allocations: 440.9 kB / 0.4894 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1536, allocations: 96 / 0.4894 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.1539, allocations: 59.89 kB / 0.4895 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1539, allocations: 7.922 kB / 0.4895 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.154, allocations: 8 kB / 0.4895 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003577/0.1543, allocations: 0.5782 MB / 0.49 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1543, allocations: 0 / 0.49 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1546, allocations: 158.6 kB / 0.4902 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1547, allocations: 97 kB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.1548, allocations: 3.938 kB / 0.4903 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1549, allocations: 11.98 kB / 0.4903 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.1549, allocations: 7.984 kB / 0.4903 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.155, allocations: 8 kB / 0.4903 GB, free: 14.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.1551, allocations: 127.2 kB / 0.4904 GB, free: 13.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1551, allocations: 0 / 0.4904 GB, free: 13.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005856/0.1557, allocations: 139.9 kB / 0.4906 GB, free: 13.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.1568, allocations: 0.8506 MB / 0.4914 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000535/0.1574, allocations: 168 kB / 0.4916 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1574, allocations: 0 / 0.4916 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.1576, allocations: 47.91 kB / 0.4916 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.158, allocations: 49.08 kB / 0.4917 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.1614, allocations: 2.52 MB / 0.4941 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1618, allocations: 0.7128 MB / 0.4948 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.1621, allocations: 73.7 kB / 0.4949 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1623, allocations: 63.39 kB / 0.4949 GB, free: 9.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1623, allocations: 4 kB / 0.495 GB, free: 9.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.1942, allocations: 6.617 MB / 0.5014 GB, free: 2.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/11.89, allocations: 5.172 kB / 0.5014 GB, free: 2.613 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1)