Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 95.45 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 209.2 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 63.47 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03083/0.1974, allocations: 22.42 MB / 0.4921 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.2099, allocations: 9.681 MB / 0.5016 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.2101, allocations: 0 / 0.5016 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.2105, allocations: 55.77 kB / 0.5016 GB, free: 5.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3183/0.5289, allocations: 6.75 MB / 0.5082 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009985/0.5299, allocations: 318.2 kB / 0.5085 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007017/0.5306, allocations: 313.6 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.205e-05/0.5307, allocations: 16.31 kB / 0.5089 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003417/0.531, allocations: 184.2 kB / 0.509 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01911/0.5502, allocations: 11.1 MB / 0.5199 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.5504, allocations: 9.625 kB / 0.5199 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02446/0.5748, allocations: 11.64 MB / 0.5312 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.575, allocations: 80.23 kB / 0.5313 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.5752, allocations: 72.48 kB / 0.5314 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.5866, allocations: 4.236 MB / 0.5355 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5866, allocations: 0 / 0.5355 GB, free: 6.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5866, allocations: 2.188 kB / 0.5355 GB, free: 6.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.5866, allocations: 0 / 0.5355 GB, free: 6.949 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004092/0.5907, allocations: 1.502 MB / 0.537 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5908, allocations: 8.031 kB / 0.537 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.191e-05/0.5909, allocations: 62.61 kB / 0.5371 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.591, allocations: 33.7 kB / 0.5371 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.5913, allocations: 245.5 kB / 0.5373 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.5913, allocations: 19.06 kB / 0.5374 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.5913, allocations: 33.16 kB / 0.5374 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006785/0.592, allocations: 0.507 MB / 0.5379 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5921, allocations: 0 / 0.5379 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.5921, allocations: 14.64 kB / 0.5379 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.5921, allocations: 28.5 kB / 0.5379 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008797/0.593, allocations: 0.9188 MB / 0.5388 GB, free: 3.93 MB / 382.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.001726/0.5948, allocations: 1.954 MB / 0.5407 GB, free: 2.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.5954, allocations: 267.8 kB / 0.541 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/0.6128, allocations: 15.71 MB / 0.5563 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.6134, allocations: 247.9 kB / 0.5566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.6134, allocations: 0 / 0.5566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002198/0.6156, allocations: 0.7708 MB / 0.5573 GB, free: 14.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.6157, allocations: 272.9 kB / 0.5576 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.6159, allocations: 210.4 kB / 0.5578 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.616, allocations: 29.14 kB / 0.5578 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.6161, allocations: 196.9 kB / 0.558 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.908e-05/0.6162, allocations: 132.2 kB / 0.5581 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.6162, allocations: 7.688 kB / 0.5581 GB, free: 13.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6163, allocations: 332.3 kB / 0.5584 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.6165, allocations: 89.55 kB / 0.5585 GB, free: 13.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.6169, allocations: 361.1 kB / 0.5589 GB, free: 13.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.6172, allocations: 154.9 kB / 0.559 GB, free: 12.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6172, allocations: 0 / 0.559 GB, free: 12.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00109/0.6183, allocations: 0.4967 MB / 0.5595 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.6184, allocations: 15.95 kB / 0.5595 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.6184, allocations: 8 kB / 0.5595 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.6184, allocations: 16 kB / 0.5595 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.6191, allocations: 174.6 kB / 0.5597 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006119/0.6197, allocations: 1.188 MB / 0.5609 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.62, allocations: 35 kB / 0.5609 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.6201, allocations: 51.05 kB / 0.5609 GB, free: 11.07 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.6203, allocations: 172.1 kB / 0.5611 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6205, allocations: 37.95 kB / 0.5611 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.6215, allocations: 0.4903 MB / 0.5616 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.6216, allocations: 7.984 kB / 0.5616 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.6216, allocations: 0 / 0.5616 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6216, allocations: 0 / 0.5616 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.6225, allocations: 0.6177 MB / 0.5622 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6225, allocations: 4 kB / 0.5622 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.6229, allocations: 83.72 kB / 0.5623 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6229, allocations: 0 / 0.5623 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.6229, allocations: 15.36 kB / 0.5623 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005037/0.6234, allocations: 1.173 MB / 0.5635 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6234, allocations: 0 / 0.5635 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.624, allocations: 386.3 kB / 0.5638 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.6241, allocations: 128.7 kB / 0.564 GB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.6242, allocations: 11.23 kB / 0.564 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.6244, allocations: 15.25 kB / 0.564 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.6245, allocations: 26.69 kB / 0.564 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.6245, allocations: 15.94 kB / 0.564 GB, free: 8.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.6247, allocations: 168.3 kB / 0.5642 GB, free: 7.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6247, allocations: 0 / 0.5642 GB, free: 7.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005054/0.6297, allocations: 1.678 MB / 0.5658 GB, free: 6.316 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0122/0.642, allocations: 3.264 MB / 0.569 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.6435, allocations: 331.5 kB / 0.5693 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.6435, allocations: 2.734 kB / 0.5693 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005312/0.6441, allocations: 124.7 kB / 0.5695 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/0.6447, allocations: 61.2 kB / 0.5695 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/0.6545, allocations: 8.409 MB / 0.5777 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.655, allocations: 0.7625 MB / 0.5785 GB, free: 9.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006316/0.6556, allocations: 148.9 kB / 0.5786 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.6559, allocations: 98.14 kB / 0.5787 GB, free: 9.52 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6559, allocations: 0 / 0.5787 GB, free: 9.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09506/0.7509, allocations: 50.32 MB / 0.6279 GB, free: 7.531 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.7512, allocations: 270.8 kB / 0.6281 GB, free: 7.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/4.794, allocations: 0 / 0.6281 GB, free: 7.18 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat