Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.00127/0.00127, allocations: 95.97 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002072, allocations: 173.3 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4156/0.4156, allocations: 43.55 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005381, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.167, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph): time 0.01048/0.1776, allocations: 7.484 MB / 450.3 MB, free: 5.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.329/0.5066, allocations: 12.96 MB / 463.3 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.507, allocations: 5.625 kB / 463.3 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.5073, allocations: 54.47 kB / 463.4 MB, free: 36.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01/0.5174, allocations: 2.593 MB / 465.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.5178, allocations: 143.7 kB / 466.1 MB, free: 36.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008952/0.5268, allocations: 7.152 MB / 473.2 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.527, allocations: 20.94 kB / 473.3 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003105/0.5273, allocations: 136.8 kB / 473.4 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01934/0.5466, allocations: 13.84 MB / 487.2 MB, free: 34.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.5469, allocations: 6.531 kB / 487.2 MB, free: 34.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008645/0.5555, allocations: 2.151 MB / 489.4 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.5558, allocations: 42.11 kB / 489.4 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.5561, allocations: 68.89 kB / 489.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.5595, allocations: 1.019 MB / 490.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5596, allocations: 0 / 490.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5596, allocations: 0 / 490.5 MB, free: 34.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.5596, allocations: 0 / 490.5 MB, free: 34.57 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003115/0.5627, allocations: 0.8705 MB / 491.4 MB, free: 34.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.5628, allocations: 13.61 kB / 491.4 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.5629, allocations: 66.58 kB / 491.5 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/0.5635, allocations: 81.91 kB / 491.5 MB, free: 33.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.5639, allocations: 240.6 kB / 491.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.5639, allocations: 18.94 kB / 491.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.564, allocations: 27.38 kB / 491.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.565, allocations: 476.4 kB / 492.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.5651, allocations: 9.453 kB / 492.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.5651, allocations: 14.31 kB / 492.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.5651, allocations: 7.5 kB / 492.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.5663, allocations: 0.6759 MB / 493 MB, free: 33.61 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.00791/0.5742, allocations: 4.325 MB / 497.3 MB, free: 30.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.5749, allocations: 162.4 kB / 497.5 MB, free: 30.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02336/0.5983, allocations: 14.36 MB / 0.4998 GB, free: 17.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008995/0.5992, allocations: 318.9 kB / 0.5002 GB, free: 17.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 5.601e-06/0.5993, allocations: 0 / 0.5002 GB, free: 17.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001679/0.6009, allocations: 444.9 kB / 0.5006 GB, free: 17.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002594/0.6012, allocations: 480.8 kB / 0.501 GB, free: 16.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.6015, allocations: 183.8 kB / 0.5012 GB, free: 16.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.6016, allocations: 34.27 kB / 0.5012 GB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.6018, allocations: 181.7 kB / 0.5014 GB, free: 16.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.6019, allocations: 107.3 kB / 0.5015 GB, free: 16.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.6019, allocations: 8 kB / 0.5015 GB, free: 16.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.6021, allocations: 328.5 kB / 0.5018 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.6023, allocations: 60.55 kB / 0.5019 GB, free: 15.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.6026, allocations: 313 kB / 0.5022 GB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.6028, allocations: 109.6 kB / 0.5023 GB, free: 15.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.6028, allocations: 4 kB / 0.5023 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007216/0.6036, allocations: 395.7 kB / 0.5027 GB, free: 14.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.6036, allocations: 10.97 kB / 0.5027 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.6036, allocations: 11.95 kB / 0.5027 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.147e-05/0.6037, allocations: 12.81 kB / 0.5027 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.6041, allocations: 110.8 kB / 0.5028 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.6041, allocations: 17.78 kB / 0.5028 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.6045, allocations: 55.38 kB / 0.5029 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.087e-05/0.6045, allocations: 30.58 kB / 0.5029 GB, free: 14.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001714/0.6047, allocations: 152.1 kB / 0.5031 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.6048, allocations: 29.5 kB / 0.5031 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.6062, allocations: 0.8019 MB / 0.5039 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.6062, allocations: 9.266 kB / 0.5039 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.6062, allocations: 4.75 kB / 0.5039 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.6062, allocations: 0.75 kB / 0.5039 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.6077, allocations: 1.213 MB / 0.5051 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6078, allocations: 0 / 0.5051 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.6079, allocations: 34.33 kB / 0.5051 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.6079, allocations: 4 kB / 0.5051 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.6079, allocations: 8.656 kB / 0.5051 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.6079, allocations: 8.594 kB / 0.5051 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.608, allocations: 4 kB / 0.5051 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.6084, allocations: 496.7 kB / 0.5056 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.6086, allocations: 228.7 kB / 0.5058 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.6087, allocations: 4.516 kB / 0.5058 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.6089, allocations: 15.42 kB / 0.5058 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.609, allocations: 20.81 kB / 0.5059 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.609, allocations: 8.656 kB / 0.5059 GB, free: 11.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000314/0.6093, allocations: 293.8 kB / 0.5062 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6093, allocations: 7.938 kB / 0.5062 GB, free: 11.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001778/0.6111, allocations: 432.1 kB / 0.5066 GB, free: 11.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002134/0.6133, allocations: 2.233 MB / 0.5088 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004385/0.6137, allocations: 224 kB / 0.509 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.6137, allocations: 5.5 kB / 0.509 GB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6138, allocations: 86.67 kB / 0.5091 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.6144, allocations: 84.62 kB / 0.5091 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.621, allocations: 7.993 MB / 0.5169 GB, free: 16.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.6217, allocations: 0.8171 MB / 0.5177 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006695/0.6223, allocations: 167.3 kB / 0.5179 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.6226, allocations: 146.1 kB / 0.518 GB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 1.964e-06/0.6226, allocations: 3.938 kB / 0.518 GB, free: 15.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.6615, allocations: 17.38 MB / 0.535 GB, free: 14.91 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.6617, allocations: 212.5 kB / 0.5352 GB, free: 14.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.281, allocations: 0 / 0.5352 GB, free: 14.66 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat