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.001328/0.001328, allocations: 122.8 kB / 17.78 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.001382/0.001382, allocations: 202 kB / 18.74 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.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.48 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.2175/0.2175, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.002414/0.002414, allocations: 76.16 kB / 480.9 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3474, allocations: 62.46 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1795/0.5269, allocations: 154.4 MB / 0.6813 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.5286, allocations: 1.195 MB / 0.6825 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.5286, allocations: 3.938 kB / 0.6825 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.5289, allocations: 39.8 kB / 0.6826 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.5289, allocations: 27.78 kB / 0.6826 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.5303, allocations: 437.8 kB / 0.683 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.5304, allocations: 71.59 kB / 0.6831 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.5305, allocations: 8 kB / 0.6831 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.5306, allocations: 35.91 kB / 0.6831 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.5306, allocations: 23.86 kB / 0.6831 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.5307, allocations: 0 / 0.6831 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.5318, allocations: 0.5021 MB / 0.6836 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.5319, allocations: 4 kB / 0.6836 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.5319, allocations: 39.78 kB / 0.6837 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.5325, allocations: 311.1 kB / 0.684 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5325, allocations: 4 kB / 0.684 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5325, allocations: 0 / 0.684 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.5326, allocations: 0 / 0.684 GB, free: 4.141 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.0006148/0.5332, allocations: 406.8 kB / 0.6844 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5332, allocations: 8.031 kB / 0.6844 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.5333, allocations: 42.73 kB / 0.6844 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.5333, allocations: 4.688 kB / 0.6844 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.5334, allocations: 178.8 kB / 0.6846 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5335, allocations: 11.94 kB / 0.6846 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.5335, allocations: 8 kB / 0.6846 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5336, allocations: 69.66 kB / 0.6847 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.5337, allocations: 0 / 0.6847 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5337, allocations: 4 kB / 0.6847 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5337, allocations: 0 / 0.6847 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.5338, allocations: 51.91 kB / 0.6847 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.5342, allocations: 373.9 kB / 0.6851 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.5344, allocations: 62.56 kB / 0.6851 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.5344, allocations: 24.84 kB / 0.6852 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/0.5363, allocations: 1.229 MB / 0.6864 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.5363, allocations: 34.5 kB / 0.6864 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.5363, allocations: 0 / 0.6864 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006724/0.543, allocations: 0.6493 MB / 0.687 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.5431, allocations: 51.41 kB / 0.6871 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.5432, allocations: 105.8 kB / 0.6872 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.5433, allocations: 25.7 kB / 0.6872 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.5433, allocations: 88.31 kB / 0.6873 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.5434, allocations: 59.58 kB / 0.6873 GB, free: 220 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5435, allocations: 45.61 kB / 0.6874 GB, free: 168 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5437, allocations: 326.8 kB / 0.6877 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.5439, allocations: 83.88 kB / 0.6878 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.5441, allocations: 106.6 kB / 0.6879 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/0.5446, allocations: 202.5 kB / 0.6881 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5446, allocations: 256 / 0.6881 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006384/0.5452, allocations: 241.5 kB / 0.6883 GB, free: 15.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5453, allocations: 12.5 kB / 0.6883 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5453, allocations: 4 kB / 0.6883 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5453, allocations: 0 / 0.6883 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.546, allocations: 59.94 kB / 0.6884 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.546, allocations: 0 / 0.6884 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.5465, allocations: 19.98 kB / 0.6884 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.5466, allocations: 15.92 kB / 0.6884 GB, free: 15.08 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.0001244/0.5467, allocations: 125.7 kB / 0.6885 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.5468, allocations: 7.953 kB / 0.6885 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007937/0.5476, allocations: 348 kB / 0.6889 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5476, allocations: 4 kB / 0.6889 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5476, allocations: 0 / 0.6889 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5476, allocations: 0 / 0.6889 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.5488, allocations: 0.7554 MB / 0.6896 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5488, allocations: 4 kB / 0.6896 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.5494, allocations: 47.91 kB / 0.6897 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5494, allocations: 4 kB / 0.6897 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.5495, allocations: 7.984 kB / 0.6897 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.5495, allocations: 11.88 kB / 0.6897 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5495, allocations: 0 / 0.6897 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.5501, allocations: 345.4 kB / 0.69 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.5502, allocations: 113 kB / 0.6901 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.5503, allocations: 4 kB / 0.6901 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005428/0.5508, allocations: 19.92 kB / 0.6901 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.5509, allocations: 7.984 kB / 0.6901 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.5509, allocations: 11.98 kB / 0.6902 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.551, allocations: 87.28 kB / 0.6902 GB, free: 13.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.346e-06/0.551, allocations: 0 / 0.6902 GB, free: 13.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004378/0.5515, allocations: 107.7 kB / 0.6903 GB, free: 12.95 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.001296/0.5528, allocations: 1.001 MB / 0.6913 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005409/0.5533, allocations: 211.1 kB / 0.6915 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5533, allocations: 0 / 0.6915 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.5536, allocations: 122.8 kB / 0.6916 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.554, allocations: 32.03 kB / 0.6917 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008851/0.5549, allocations: 325.5 kB / 0.692 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5553, allocations: 0.6972 MB / 0.6927 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003518/0.5556, allocations: 64.75 kB / 0.6927 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/0.5559, allocations: 39.39 kB / 0.6928 GB, free: 10.39 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.5559, allocations: 0 / 0.6928 GB, free: 10.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03158/0.5874, allocations: 7.62 MB / 0.7002 GB, free: 2.848 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.738, allocations: 17.97 kB / 0.7002 GB, free: 2.832 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1)