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.001653/0.001653, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002029/0.00203, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247 MB, free: 10.41 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.2196/0.2196, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002178/0.002178, allocations: 84.14 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3236, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.007546/0.3312, allocations: 5.306 MB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.3345, allocations: 2.645 MB / 0.5384 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.3346, allocations: 2.219 kB / 0.5384 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.3349, allocations: 34.36 kB / 0.5384 GB, free: 6.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.3377, allocations: 1.072 MB / 0.5395 GB, free: 6.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.3381, allocations: 152.6 kB / 0.5396 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.3385, allocations: 306.5 kB / 0.5399 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.3386, allocations: 13.08 kB / 0.5399 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.3397, allocations: 0.6484 MB / 0.5406 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.34, allocations: 156.5 kB / 0.5407 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.34, allocations: 7.125 kB / 0.5407 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.3422, allocations: 1.205 MB / 0.5419 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.3423, allocations: 32.45 kB / 0.5419 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3424, allocations: 89.77 kB / 0.542 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3434, allocations: 0.5273 MB / 0.5425 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3434, allocations: 0 / 0.5425 GB, free: 4.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3434, allocations: 1.062 kB / 0.5425 GB, free: 4.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3435, allocations: 0 / 0.5425 GB, free: 4.633 MB / 398.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.001015/0.3445, allocations: 0.5789 MB / 0.5431 GB, free: 4.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3445, allocations: 9.438 kB / 0.5431 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.182e-05/0.3446, allocations: 56.58 kB / 0.5431 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.345, allocations: 42.47 kB / 0.5432 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.3454, allocations: 217.9 kB / 0.5434 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3454, allocations: 15.19 kB / 0.5434 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3454, allocations: 18.31 kB / 0.5434 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.3459, allocations: 242.9 kB / 0.5437 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3459, allocations: 4.953 kB / 0.5437 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.3459, allocations: 7.875 kB / 0.5437 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3459, allocations: 4.25 kB / 0.5437 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.3463, allocations: 235.5 kB / 0.5439 GB, free: 3.469 MB / 398.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.001528/0.3479, allocations: 1.374 MB / 0.5452 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3481, allocations: 85.7 kB / 0.5453 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.3482, allocations: 41.47 kB / 0.5454 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.3498, allocations: 2.047 MB / 0.5474 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.3501, allocations: 165.9 kB / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.3501, allocations: 0 / 0.5475 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009464/0.3511, allocations: 368.4 kB / 0.5479 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.3512, allocations: 270 kB / 0.5481 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.3514, allocations: 150.4 kB / 0.5483 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.3514, allocations: 39.12 kB / 0.5483 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.3515, allocations: 150 kB / 0.5485 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.3516, allocations: 71.41 kB / 0.5485 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.3517, allocations: 65.66 kB / 0.5486 GB, free: 14.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3518, allocations: 322.8 kB / 0.5489 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.3519, allocations: 43.97 kB / 0.5489 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3521, allocations: 196 kB / 0.5491 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.3525, allocations: 258.6 kB / 0.5494 GB, free: 13.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3525, allocations: 0 / 0.5494 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004239/0.3529, allocations: 264.6 kB / 0.5496 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3529, allocations: 8 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3529, allocations: 4 kB / 0.5496 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.353, allocations: 8.656 kB / 0.5496 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.3534, allocations: 99.81 kB / 0.5497 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003702/0.3538, allocations: 0.6015 MB / 0.5503 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.3539, allocations: 12 kB / 0.5503 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.354, allocations: 20 kB / 0.5504 GB, free: 12.49 MB / 414.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.0001264/0.3541, allocations: 144.6 kB / 0.5505 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.363e-05/0.3542, allocations: 23.89 kB / 0.5505 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.3546, allocations: 220.1 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3546, allocations: 4 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3546, allocations: 3.938 kB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3547, allocations: 0 / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3551, allocations: 452.8 kB / 0.5512 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3551, allocations: 4.031 kB / 0.5512 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.3555, allocations: 55.95 kB / 0.5512 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3555, allocations: 3.938 kB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3555, allocations: 4 kB / 0.5512 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000317/0.3558, allocations: 0.586 MB / 0.5518 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3558, allocations: 0 / 0.5518 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3561, allocations: 158.6 kB / 0.552 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.8e-05/0.3561, allocations: 89.05 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.3562, allocations: 11.95 kB / 0.552 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.3563, allocations: 7.984 kB / 0.5521 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.3563, allocations: 11.94 kB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3564, allocations: 7.984 kB / 0.5521 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3565, allocations: 127.2 kB / 0.5522 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3565, allocations: 96 / 0.5522 GB, free: 10.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005054/0.357, allocations: 151.5 kB / 0.5523 GB, free: 10.27 MB / 414.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.001002/0.358, allocations: 0.8313 MB / 0.5532 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004853/0.3585, allocations: 160.2 kB / 0.5533 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3585, allocations: 0 / 0.5533 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3587, allocations: 52.16 kB / 0.5534 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.3591, allocations: 52.14 kB / 0.5534 GB, free: 9.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/0.3624, allocations: 2.527 MB / 0.5559 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.3628, allocations: 0.7128 MB / 0.5566 GB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.363, allocations: 77.69 kB / 0.5566 GB, free: 5.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.3631, allocations: 51.42 kB / 0.5567 GB, free: 5.543 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3631, allocations: 0 / 0.5567 GB, free: 5.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.3933, allocations: 6.598 MB / 0.5631 GB, free: 15.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.13, allocations: 17.62 kB / 0.5632 GB, free: 15.13 MB / 430.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)