Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.0007395/0.0007396, allocations: 96.86 kB / 15.7 MB, free: 468 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.001077/0.001077, allocations: 173.2 kB / 16.58 MB, free: 6.844 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.559/1.559, allocations: 205.4 MB / 222.7 MB, free: 5.887 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.3807/0.3807, allocations: 43.55 MB / 314.6 MB, free: 8.902 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.000627/0.0006274, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1323, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4275/0.5598, allocations: 137.3 MB / 0.5666 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009017/0.5689, allocations: 6.452 MB / 0.5729 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.5692, allocations: 4 kB / 0.5729 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.5696, allocations: 39.8 kB / 0.5729 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004143/0.5737, allocations: 1.145 MB / 0.574 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.5741, allocations: 133.3 kB / 0.5742 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005906/0.5747, allocations: 414 kB / 0.5746 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.5748, allocations: 12.34 kB / 0.5746 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.5751, allocations: 167.4 kB / 0.5747 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.5754, allocations: 179.5 kB / 0.5749 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.5754, allocations: 4 kB / 0.5749 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002518/0.5779, allocations: 1.041 MB / 0.5759 GB, free: 9.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.578, allocations: 43.81 kB / 0.576 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.5781, allocations: 61.58 kB / 0.576 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.5792, allocations: 0.6378 MB / 0.5766 GB, free: 8.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5792, allocations: 0 / 0.5766 GB, free: 8.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5792, allocations: 0 / 0.5766 GB, free: 8.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.5793, allocations: 0 / 0.5766 GB, free: 8.383 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001337/0.5806, allocations: 0.6587 MB / 0.5773 GB, free: 7.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5807, allocations: 11.97 kB / 0.5773 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.707e-05/0.5808, allocations: 54.55 kB / 0.5773 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006163/0.5869, allocations: 0.6021 MB / 0.5779 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.5874, allocations: 254.8 kB / 0.5782 GB, free: 6.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.5876, allocations: 123.4 kB / 0.5783 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.5877, allocations: 22.92 kB / 0.5783 GB, free: 6.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.5888, allocations: 0.5556 MB / 0.5789 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5888, allocations: 3.938 kB / 0.5789 GB, free: 5.965 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.5889, allocations: 12 kB / 0.5789 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.5889, allocations: 8 kB / 0.5789 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.5902, allocations: 0.6299 MB / 0.5795 GB, free: 5.312 MB / 446.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.001909/0.5921, allocations: 1.623 MB / 0.5811 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.5925, allocations: 166.5 kB / 0.5812 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.5926, allocations: 80.81 kB / 0.5813 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.594, allocations: 1.312 MB / 0.5826 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.594, allocations: 34.56 kB / 0.5826 GB, free: 1.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.104e-06/0.594, allocations: 0 / 0.5826 GB, free: 1.773 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.001036/0.5951, allocations: 331.6 kB / 0.5829 GB, free: 1.445 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.5951, allocations: 63.39 kB / 0.583 GB, free: 1.371 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.5953, allocations: 183.3 kB / 0.5832 GB, free: 1.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.5954, allocations: 33.7 kB / 0.5832 GB, free: 1.141 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.5955, allocations: 183.3 kB / 0.5834 GB, free: 0.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.5956, allocations: 63.11 kB / 0.5835 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.5956, allocations: 4 kB / 0.5835 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5957, allocations: 326.8 kB / 0.5838 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.5959, allocations: 68.7 kB / 0.5838 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.5962, allocations: 271.7 kB / 0.5841 GB, free: 140 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.5964, allocations: 107.9 kB / 0.5842 GB, free: 32 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5964, allocations: 0 / 0.5842 GB, free: 32 kB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006178/0.597, allocations: 367 kB / 0.5845 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5971, allocations: 11.95 kB / 0.5846 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.5971, allocations: 8.562 kB / 0.5846 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.5971, allocations: 11.94 kB / 0.5846 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.5975, allocations: 127.8 kB / 0.5847 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004496/0.598, allocations: 0.6019 MB / 0.5853 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.5982, allocations: 43.62 kB / 0.5853 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.5983, allocations: 48.73 kB / 0.5854 GB, free: 14.79 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.5985, allocations: 145.6 kB / 0.5855 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.5985, allocations: 15.81 kB / 0.5855 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007589/0.5993, allocations: 302.6 kB / 0.5858 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5993, allocations: 0 / 0.5858 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5993, allocations: 0 / 0.5858 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5993, allocations: 0 / 0.5858 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.6, allocations: 0.5312 MB / 0.5863 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6, allocations: 0 / 0.5863 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.6002, allocations: 55.91 kB / 0.5864 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.6002, allocations: 4 kB / 0.5864 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.6002, allocations: 15.97 kB / 0.5864 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003459/0.6006, allocations: 0.5939 MB / 0.587 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6006, allocations: 0 / 0.587 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.601, allocations: 270.7 kB / 0.5872 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.6011, allocations: 112.9 kB / 0.5874 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.6012, allocations: 11.95 kB / 0.5874 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.6014, allocations: 11.98 kB / 0.5874 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.6014, allocations: 11.98 kB / 0.5874 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.6014, allocations: 15.98 kB / 0.5874 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.6016, allocations: 139 kB / 0.5875 GB, free: 12.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6016, allocations: 8 kB / 0.5875 GB, free: 12.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007038/0.6023, allocations: 184 kB / 0.5877 GB, free: 12.24 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.6036, allocations: 1.023 MB / 0.5887 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005097/0.6041, allocations: 221 kB / 0.5889 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6041, allocations: 0 / 0.5889 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.6043, allocations: 79.89 kB / 0.589 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.6048, allocations: 60.84 kB / 0.5891 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.6095, allocations: 2.819 MB / 0.5918 GB, free: 7.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.6099, allocations: 0.7286 MB / 0.5925 GB, free: 7.121 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.6104, allocations: 98.17 kB / 0.5926 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.6106, allocations: 79.38 kB / 0.5927 GB, free: 6.949 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6106, allocations: 0 / 0.5927 GB, free: 6.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.6356, allocations: 7.721 MB / 0.6002 GB, free: 15.3 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.6359, allocations: 263.6 kB / 0.6005 GB, free: 14.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.551, allocations: 3.938 kB / 0.6005 GB, free: 14.95 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat