Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.46 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.2621/0.2621, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.002188/0.002188, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3816, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1825/0.5641, allocations: 153 MB / 0.6801 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00588/0.5701, allocations: 5.155 MB / 0.6851 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.5702, allocations: 4 kB / 0.6851 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.5705, allocations: 55.59 kB / 0.6851 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.5736, allocations: 1.186 MB / 0.6863 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.574, allocations: 154.1 kB / 0.6865 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.5745, allocations: 398.1 kB / 0.6868 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.5746, allocations: 13.69 kB / 0.6868 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.5748, allocations: 163.4 kB / 0.687 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.5751, allocations: 171.4 kB / 0.6872 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.5752, allocations: 8 kB / 0.6872 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.5772, allocations: 1.033 MB / 0.6882 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.5773, allocations: 39.89 kB / 0.6882 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.5774, allocations: 107.5 kB / 0.6883 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.5788, allocations: 0.8607 MB / 0.6892 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5788, allocations: 0 / 0.6892 GB, free: 14.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5788, allocations: 0 / 0.6892 GB, free: 14.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5788, allocations: 0 / 0.6892 GB, free: 14.79 MB / 0.545 GB 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.001299/0.5802, allocations: 0.7009 MB / 0.6898 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5802, allocations: 11.97 kB / 0.6899 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.953e-05/0.5803, allocations: 62.72 kB / 0.6899 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007548/0.5878, allocations: 0.6054 MB / 0.6905 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.5885, allocations: 263.2 kB / 0.6908 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.5886, allocations: 127.4 kB / 0.6909 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.5887, allocations: 20 kB / 0.6909 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.59, allocations: 0.5634 MB / 0.6915 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.59, allocations: 3.938 kB / 0.6915 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/0.5901, allocations: 12 kB / 0.6915 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.5901, allocations: 4 kB / 0.6915 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.5916, allocations: 0.6299 MB / 0.6921 GB, free: 11.64 MB / 0.545 GB 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.002228/0.5938, allocations: 1.714 MB / 0.6938 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.5942, allocations: 162.4 kB / 0.6939 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.5944, allocations: 80.86 kB / 0.694 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007638/0.5952, allocations: 0.6926 MB / 0.6947 GB, free: 8.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.5952, allocations: 42.55 kB / 0.6947 GB, free: 8.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.5953, allocations: 0 / 0.6947 GB, free: 8.68 MB / 0.545 GB 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=17): time 0.001046/0.5963, allocations: 329.3 kB / 0.695 GB, free: 8.352 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.5964, allocations: 51.41 kB / 0.6951 GB, free: 8.289 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.5966, allocations: 195.9 kB / 0.6953 GB, free: 8.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.5966, allocations: 25.7 kB / 0.6953 GB, free: 8.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5967, allocations: 199.7 kB / 0.6955 GB, free: 7.859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.5968, allocations: 63.47 kB / 0.6955 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.597, allocations: 102 kB / 0.6956 GB, free: 7.691 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5971, allocations: 322.8 kB / 0.6959 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.5973, allocations: 68.7 kB / 0.696 GB, free: 7.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.5976, allocations: 264.5 kB / 0.6963 GB, free: 6.949 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.5981, allocations: 360.9 kB / 0.6966 GB, free: 6.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5982, allocations: 4 kB / 0.6966 GB, free: 6.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006645/0.5988, allocations: 381.2 kB / 0.697 GB, free: 6.121 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5989, allocations: 18.06 kB / 0.697 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5989, allocations: 8 kB / 0.697 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.5989, allocations: 11.94 kB / 0.697 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.5993, allocations: 127.8 kB / 0.6971 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004357/0.5998, allocations: 0.6098 MB / 0.6977 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.6, allocations: 35.73 kB / 0.6978 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.6001, allocations: 43.98 kB / 0.6978 GB, free: 5.25 MB / 0.545 GB 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 (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.0001504/0.6002, allocations: 149.5 kB / 0.6979 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.6003, allocations: 19.91 kB / 0.698 GB, free: 5.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008619/0.6012, allocations: 425.2 kB / 0.6984 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.6012, allocations: 8 kB / 0.6984 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6012, allocations: 3.938 kB / 0.6984 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6012, allocations: 0 / 0.6984 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/0.6021, allocations: 0.6267 MB / 0.699 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6021, allocations: 7.938 kB / 0.699 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.6024, allocations: 59.95 kB / 0.6991 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6024, allocations: 0 / 0.6991 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.6024, allocations: 15.94 kB / 0.6991 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003641/0.6028, allocations: 0.6015 MB / 0.6997 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6028, allocations: 0 / 0.6997 GB, free: 3.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.6032, allocations: 293.4 kB / 0.6999 GB, free: 2.875 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.6033, allocations: 112.9 kB / 0.7 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.6034, allocations: 11.95 kB / 0.7001 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.6036, allocations: 11.98 kB / 0.7001 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.6036, allocations: 19.92 kB / 0.7001 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.6037, allocations: 19.98 kB / 0.7001 GB, free: 2.684 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001357/0.6038, allocations: 144.2 kB / 0.7002 GB, free: 2.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6038, allocations: 4 kB / 0.7002 GB, free: 2.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006343/0.6045, allocations: 151.7 kB / 0.7004 GB, free: 2.391 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.001179/0.6057, allocations: 0.9574 MB / 0.7013 GB, free: 1.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.6062, allocations: 232.1 kB / 0.7015 GB, free: 1.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6062, allocations: 0 / 0.7015 GB, free: 1.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.6064, allocations: 81.33 kB / 0.7016 GB, free: 1.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.6069, allocations: 72.36 kB / 0.7017 GB, free: 1.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.6106, allocations: 2.868 MB / 0.7045 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.611, allocations: 0.7245 MB / 0.7052 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006638/0.6117, allocations: 381 kB / 0.7056 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.6119, allocations: 99.36 kB / 0.7057 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.6119, allocations: 0 / 0.7057 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.6424, allocations: 7.445 MB / 0.7129 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.52, allocations: 6.719 kB / 0.7129 GB, free: 5.352 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)