Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 93.7 kB / 17 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001735/0.001735, allocations: 198 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 45.91 MB / 344.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003294, allocations: 4 kB / 418.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 63.47 MB / 481.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01333/0.1629, allocations: 10.21 MB / 491.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1758, allocations: 10.79 MB / 0.4909 GB, free: 256 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003314/0.1762, allocations: 0 / 0.4909 GB, free: 256 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.1766, allocations: 51.69 kB / 0.4909 GB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.1871, allocations: 2.445 MB / 0.4933 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1876, allocations: 146.7 kB / 0.4934 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01128/0.1989, allocations: 7.404 MB / 0.5007 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.199, allocations: 20.39 kB / 0.5007 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.1994, allocations: 139.5 kB / 0.5008 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3531/0.5525, allocations: 14.16 MB / 0.5146 GB, free: 25.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.047e-05/0.5526, allocations: 6.781 kB / 0.5146 GB, free: 25.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006579/0.5592, allocations: 1.95 MB / 0.5166 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.5594, allocations: 42.23 kB / 0.5166 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.5596, allocations: 68.73 kB / 0.5167 GB, free: 25.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.5632, allocations: 1.026 MB / 0.5177 GB, free: 25.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.5632, allocations: 4.906 kB / 0.5177 GB, free: 25.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.909e-06/0.5632, allocations: 0.6094 kB / 0.5177 GB, free: 25.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.5632, allocations: 2.719 kB / 0.5177 GB, free: 25.04 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.0031/0.5663, allocations: 0.8554 MB / 0.5185 GB, free: 24.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.5664, allocations: 10.31 kB / 0.5185 GB, free: 24.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.009e-05/0.5665, allocations: 67.02 kB / 0.5186 GB, free: 24.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000578/0.5671, allocations: 77.45 kB / 0.5187 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.5675, allocations: 250.6 kB / 0.5189 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.5675, allocations: 19.31 kB / 0.5189 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.5676, allocations: 28.22 kB / 0.5189 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5688, allocations: 474.5 kB / 0.5194 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.5689, allocations: 5.891 kB / 0.5194 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.5689, allocations: 13.44 kB / 0.5194 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.5689, allocations: 10.97 kB / 0.5194 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.5701, allocations: 0.677 MB / 0.5201 GB, free: 24.1 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.006365/0.5765, allocations: 3.081 MB / 0.5231 GB, free: 22.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.5772, allocations: 226.2 kB / 0.5233 GB, free: 22.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.5774, allocations: 73.33 kB / 0.5234 GB, free: 22.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06705/0.6444, allocations: 30.61 MB / 0.5533 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009911/0.6455, allocations: 340.8 kB / 0.5536 GB, free: 11.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 4.939e-06/0.6455, allocations: 4 kB / 0.5536 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003617/0.6491, allocations: 0.9775 MB / 0.5546 GB, free: 10.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002851/0.6494, allocations: 480.2 kB / 0.555 GB, free: 9.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.6497, allocations: 155.1 kB / 0.5552 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.6497, allocations: 36.95 kB / 0.5552 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.6499, allocations: 163.2 kB / 0.5553 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.65, allocations: 126.4 kB / 0.5555 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.65, allocations: 14.53 kB / 0.5555 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6502, allocations: 335.5 kB / 0.5558 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.6504, allocations: 71.08 kB / 0.5559 GB, free: 8.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.6507, allocations: 311.2 kB / 0.5562 GB, free: 8.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.6509, allocations: 123.8 kB / 0.5563 GB, free: 8.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6509, allocations: 5.375 kB / 0.5563 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008284/0.6518, allocations: 448.8 kB / 0.5567 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.6518, allocations: 11.22 kB / 0.5567 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.6519, allocations: 8 kB / 0.5567 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.6537, allocations: 306.3 kB / 0.557 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.6541, allocations: 102 kB / 0.5571 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008702/0.655, allocations: 1.218 MB / 0.5583 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.6553, allocations: 26.53 kB / 0.5583 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.6553, allocations: 35.67 kB / 0.5584 GB, free: 6.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.6556, allocations: 157.9 kB / 0.5585 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.6557, allocations: 31.72 kB / 0.5586 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.6573, allocations: 1.067 MB / 0.5596 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.6574, allocations: 7.953 kB / 0.5596 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.6574, allocations: 4 kB / 0.5596 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.6574, allocations: 3.984 kB / 0.5596 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.6594, allocations: 1.563 MB / 0.5611 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.6595, allocations: 4 kB / 0.5611 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.6596, allocations: 39.06 kB / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.6609, allocations: 246.7 kB / 0.5614 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.661, allocations: 13.86 kB / 0.5614 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008415/0.6618, allocations: 1.262 MB / 0.5627 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.6618, allocations: 4 kB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.6627, allocations: 0.6096 MB / 0.5633 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.663, allocations: 218 kB / 0.5635 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/0.663, allocations: 6.375 kB / 0.5635 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.6633, allocations: 16.05 kB / 0.5635 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.6634, allocations: 26.28 kB / 0.5635 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.6634, allocations: 15.95 kB / 0.5635 GB, free: 1.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.6638, allocations: 274.3 kB / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6638, allocations: 0 / 0.5638 GB, free: 1.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002682/0.6665, allocations: 444.4 kB / 0.5642 GB, free: 1.137 MB / 398.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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004737/0.6713, allocations: 1.676 MB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009042/0.6722, allocations: 365.4 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6722, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.6726, allocations: 231.5 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008426/0.6734, allocations: 104.7 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.213/1.886, allocations: 0.4913 GB / 1.058 GB, free: 60.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.886, allocations: 0.8273 MB / 1.059 GB, free: 59.64 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005065/1.887, allocations: 161 kB / 1.059 GB, free: 59.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/1.887, allocations: 151.4 kB / 1.059 GB, free: 59.35 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/1.887, allocations: 4 kB / 1.059 GB, free: 59.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/1.921, allocations: 18.93 MB / 1.077 GB, free: 40.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/1.921, allocations: 237.7 kB / 1.078 GB, free: 40.46 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/4.531, allocations: 2.5 kB / 1.078 GB, free: 40.46 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat