Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_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.001236/0.001236, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, 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.2281/0.2281, allocations: 46.12 MB / 344.4 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.002218/0.002218, allocations: 79.81 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3255, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1756/0.5011, allocations: 154.4 MB / 0.6813 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.5027, allocations: 1.191 MB / 0.6825 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.5028, allocations: 0 / 0.6825 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.5029, allocations: 39.8 kB / 0.6826 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.503, allocations: 27.77 kB / 0.6826 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.5043, allocations: 437.8 kB / 0.683 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5044, allocations: 67.59 kB / 0.6831 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.5044, allocations: 7.984 kB / 0.6831 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.68e-05/0.5045, allocations: 31.92 kB / 0.6831 GB, free: 5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.169e-05/0.5046, allocations: 31.86 kB / 0.6831 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.5046, allocations: 0 / 0.6831 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.5057, allocations: 0.5101 MB / 0.6836 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.5058, allocations: 4 kB / 0.6836 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.5058, allocations: 27.88 kB / 0.6837 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.5063, allocations: 315 kB / 0.684 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5064, allocations: 0 / 0.684 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5064, allocations: 0 / 0.684 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.5064, allocations: 0 / 0.684 GB, free: 4.125 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005648/0.5069, allocations: 410.8 kB / 0.6843 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.507, allocations: 8.031 kB / 0.6844 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.507, allocations: 46.67 kB / 0.6844 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.5071, allocations: 12.62 kB / 0.6844 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5072, allocations: 171 kB / 0.6846 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5072, allocations: 8 kB / 0.6846 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.5073, allocations: 4 kB / 0.6846 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.5074, allocations: 69.42 kB / 0.6847 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5074, allocations: 0 / 0.6847 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.5074, allocations: 8 kB / 0.6847 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5075, allocations: 4 kB / 0.6847 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.844e-05/0.5075, allocations: 51.84 kB / 0.6847 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.508, allocations: 377.9 kB / 0.6851 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.5081, allocations: 58.56 kB / 0.6851 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.5082, allocations: 21.03 kB / 0.6852 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001865/0.5101, allocations: 1.232 MB / 0.6864 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.5101, allocations: 34.56 kB / 0.6864 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.5101, allocations: 0 / 0.6864 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006725/0.5168, allocations: 0.6493 MB / 0.687 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5169, allocations: 55.97 kB / 0.6871 GB, free: 496 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.517, allocations: 105.8 kB / 0.6872 GB, free: 380 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.5171, allocations: 29.7 kB / 0.6872 GB, free: 344 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.5171, allocations: 92.31 kB / 0.6873 GB, free: 248 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.5172, allocations: 47.59 kB / 0.6873 GB, free: 200 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5173, allocations: 41.67 kB / 0.6874 GB, free: 152 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5175, allocations: 334.7 kB / 0.6877 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.5177, allocations: 79.89 kB / 0.6878 GB, free: 15.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.5179, allocations: 114.1 kB / 0.6879 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.5184, allocations: 202.5 kB / 0.6881 GB, free: 15.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5184, allocations: 0 / 0.6881 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005772/0.519, allocations: 245.5 kB / 0.6883 GB, free: 15.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.519, allocations: 8 kB / 0.6883 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.519, allocations: 3.938 kB / 0.6883 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.519, allocations: 0 / 0.6883 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.5197, allocations: 51.94 kB / 0.6884 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.5197, allocations: 4 kB / 0.6884 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.5202, allocations: 16.06 kB / 0.6884 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.5203, allocations: 16.22 kB / 0.6884 GB, free: 15.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.5204, allocations: 125.7 kB / 0.6885 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.5205, allocations: 7.953 kB / 0.6885 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.5213, allocations: 349.4 kB / 0.6889 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5213, allocations: 4 kB / 0.6889 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5213, allocations: 0 / 0.6889 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5214, allocations: 3.984 kB / 0.6889 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5225, allocations: 0.7539 MB / 0.6896 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5225, allocations: 4 kB / 0.6896 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.5231, allocations: 51.89 kB / 0.6897 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5231, allocations: 0 / 0.6897 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.5232, allocations: 11.98 kB / 0.6897 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5232, allocations: 3.938 kB / 0.6897 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5232, allocations: 0 / 0.6897 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.5238, allocations: 347.4 kB / 0.69 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5239, allocations: 109 kB / 0.6901 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.524, allocations: 4 kB / 0.6901 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005182/0.5245, allocations: 15.94 kB / 0.6901 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.5246, allocations: 15.97 kB / 0.6901 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.5246, allocations: 15.92 kB / 0.6902 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.46e-05/0.5247, allocations: 83.28 kB / 0.6902 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5247, allocations: 0 / 0.6902 GB, free: 13.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004488/0.5251, allocations: 103.7 kB / 0.6903 GB, free: 12.94 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001233/0.5264, allocations: 0.9955 MB / 0.6913 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.5269, allocations: 215.9 kB / 0.6915 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5269, allocations: 0 / 0.6915 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.5272, allocations: 119.8 kB / 0.6916 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.5276, allocations: 42.77 kB / 0.6917 GB, free: 11.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.5285, allocations: 317.7 kB / 0.692 GB, free: 11.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.5288, allocations: 0.6933 MB / 0.6927 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003341/0.5291, allocations: 72.73 kB / 0.6927 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.5294, allocations: 47.39 kB / 0.6928 GB, free: 10.37 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5294, allocations: 0 / 0.6928 GB, free: 10.37 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.558, allocations: 7.62 MB / 0.7002 GB, free: 2.824 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.539, allocations: 20.56 kB / 0.7002 GB, free: 2.809 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)