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.001921/0.001921, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00215/0.00215, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2242/0.2242, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002279/0.002279, allocations: 81.61 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 62.46 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.00858/0.1215, allocations: 5.296 MB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003745/0.1253, allocations: 2.643 MB / 488.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1254, allocations: 4 kB / 488.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1257, allocations: 35.75 kB / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.1289, allocations: 1.077 MB / 489.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1293, allocations: 145.1 kB / 489.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.1297, allocations: 302.7 kB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.264e-05/0.1298, allocations: 17.53 kB / 489.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.1309, allocations: 0.6472 MB / 490.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1312, allocations: 155.5 kB / 490.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1313, allocations: 4 kB / 490.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.1335, allocations: 1.166 MB / 491.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.877e-05/0.1336, allocations: 39.83 kB / 491.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1337, allocations: 79.64 kB / 491.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.1347, allocations: 0.5418 MB / 492.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1347, allocations: 0 / 492.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1347, allocations: 4 kB / 492.4 MB, free: 8.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1348, allocations: 4 kB / 492.4 MB, free: 8.938 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.001078/0.1358, allocations: 0.5536 MB / 492.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1359, allocations: 12.03 kB / 492.9 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.136, allocations: 54.72 kB / 493 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.1365, allocations: 44.72 kB / 493 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1367, allocations: 212.1 kB / 493.2 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1368, allocations: 20.12 kB / 493.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1368, allocations: 12 kB / 493.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.1373, allocations: 248.5 kB / 493.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1373, allocations: 0 / 493.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1373, allocations: 16 kB / 493.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1373, allocations: 4 kB / 493.5 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.1377, allocations: 237.4 kB / 493.8 MB, free: 7.414 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.001501/0.1392, allocations: 1.365 MB / 495.1 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1395, allocations: 90.55 kB / 495.2 MB, free: 5.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.1396, allocations: 42.91 kB / 495.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/0.1415, allocations: 2.059 MB / 497.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.1418, allocations: 169.6 kB / 497.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1418, allocations: 0 / 497.5 MB, free: 3.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009589/0.1428, allocations: 355.9 kB / 497.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.1429, allocations: 265 kB / 498.1 MB, free: 2.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1431, allocations: 152.7 kB / 498.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.1431, allocations: 29.7 kB / 498.3 MB, free: 2.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1432, allocations: 147.7 kB / 498.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.1433, allocations: 67.09 kB / 498.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.1434, allocations: 69.72 kB / 498.5 MB, free: 1.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1436, allocations: 322.8 kB / 498.9 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.1437, allocations: 43.97 kB / 498.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1439, allocations: 190.6 kB / 499.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1443, allocations: 258.2 kB / 499.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1443, allocations: 0 / 499.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004775/0.1448, allocations: 253.5 kB / 499.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1448, allocations: 4 kB / 499.6 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.1448, allocations: 11.98 kB / 499.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1449, allocations: 4 kB / 499.6 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.1453, allocations: 99.81 kB / 499.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004068/0.1458, allocations: 0.5979 MB / 0.4886 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.1459, allocations: 15.95 kB / 0.4886 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.146, allocations: 24.64 kB / 0.4886 GB, free: 15.96 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.0001407/0.1461, allocations: 137.7 kB / 0.4887 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.1462, allocations: 15.81 kB / 0.4888 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.1467, allocations: 239.8 kB / 0.489 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1467, allocations: 0 / 0.489 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1467, allocations: 15.88 kB / 0.489 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1467, allocations: 0 / 0.489 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.1472, allocations: 448.8 kB / 0.4894 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1472, allocations: 0 / 0.4894 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.1476, allocations: 44.06 kB / 0.4895 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.1476, allocations: 19.86 kB / 0.4895 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1476, allocations: 0 / 0.4895 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003593/0.148, allocations: 0.5821 MB / 0.4901 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.148, allocations: 0 / 0.4901 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1483, allocations: 150.6 kB / 0.4902 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.1484, allocations: 100.9 kB / 0.4903 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1484, allocations: 7.938 kB / 0.4903 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1486, allocations: 4 kB / 0.4903 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.1486, allocations: 11.98 kB / 0.4903 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1486, allocations: 11.98 kB / 0.4903 GB, free: 14.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1487, allocations: 119.2 kB / 0.4904 GB, free: 13.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1488, allocations: 0 / 0.4904 GB, free: 13.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.1493, allocations: 139.9 kB / 0.4906 GB, free: 13.77 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.001113/0.1504, allocations: 0.8474 MB / 0.4914 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005408/0.151, allocations: 164.4 kB / 0.4916 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.151, allocations: 0 / 0.4916 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.1512, allocations: 51.91 kB / 0.4916 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1516, allocations: 52.62 kB / 0.4917 GB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.1551, allocations: 2.52 MB / 0.4941 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1554, allocations: 0.7128 MB / 0.4948 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.1558, allocations: 73.7 kB / 0.4949 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1559, allocations: 55.42 kB / 0.4949 GB, free: 9.023 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1559, allocations: 0 / 0.4949 GB, free: 9.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.1879, allocations: 6.627 MB / 0.5014 GB, free: 2.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.1, allocations: 5.172 kB / 0.5014 GB, free: 2.578 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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)