Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001695/0.001695, allocations: 117.7 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.001908/0.001908, allocations: 211.8 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.409/1.409, allocations: 227.4 MB / 247 MB, free: 10.43 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.2179/0.2179, 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.00223/0.00223, allocations: 79.88 kB / 480.9 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3178, allocations: 62.45 MB / 0.5306 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1767/0.4946, allocations: 153.9 MB / 0.6809 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.4966, allocations: 1.46 MB / 0.6823 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.4967, allocations: 0 / 0.6823 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.497, allocations: 47.72 kB / 0.6823 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.5002, allocations: 1.072 MB / 0.6834 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.551e-06/0.5002, allocations: 0 / 0.6834 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.5003, allocations: 67.64 kB / 0.6835 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.5004, allocations: 0 / 0.6835 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.5004, allocations: 27.86 kB / 0.6835 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.5005, allocations: 39.83 kB / 0.6835 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.5005, allocations: 0 / 0.6835 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/0.5039, allocations: 1.872 MB / 0.6854 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.504, allocations: 11.98 kB / 0.6854 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.504, allocations: 23.86 kB / 0.6854 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.5061, allocations: 0.9196 MB / 0.6863 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5061, allocations: 0 / 0.6863 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5061, allocations: 0 / 0.6863 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.5061, allocations: 0 / 0.6863 GB, free: 1.602 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009515/0.5071, allocations: 0.5133 MB / 0.6868 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5071, allocations: 8.031 kB / 0.6868 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.5072, allocations: 42.69 kB / 0.6868 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.5072, allocations: 12.88 kB / 0.6868 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.5074, allocations: 167.4 kB / 0.687 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5074, allocations: 0 / 0.687 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.5074, allocations: 4 kB / 0.687 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.5076, allocations: 81.61 kB / 0.6871 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5076, allocations: 0 / 0.6871 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.5076, allocations: 11.97 kB / 0.6871 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.5077, allocations: 15.92 kB / 0.6871 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5078, allocations: 59.97 kB / 0.6872 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.5083, allocations: 316.7 kB / 0.6875 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.41e-05/0.5084, allocations: 46.5 kB / 0.6875 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.5084, allocations: 12.86 kB / 0.6875 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.5087, allocations: 263.4 kB / 0.6878 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.5087, allocations: 30.56 kB / 0.6878 GB, free: 15.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.5087, allocations: 4 kB / 0.6878 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002059/0.5089, allocations: 65.69 kB / 0.6879 GB, free: 15.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.509, allocations: 55.41 kB / 0.6879 GB, free: 15.67 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.5091, allocations: 101.8 kB / 0.688 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.5091, allocations: 29.7 kB / 0.6881 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.5092, allocations: 96.02 kB / 0.6881 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.5092, allocations: 19.84 kB / 0.6882 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.5093, allocations: 25.67 kB / 0.6882 GB, free: 15.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5094, allocations: 326.7 kB / 0.6885 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.874e-05/0.5094, allocations: 12.5 kB / 0.6885 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.105e-05/0.5095, allocations: 39.42 kB / 0.6886 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.176e-05/0.5096, allocations: 55.36 kB / 0.6886 GB, free: 14.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5096, allocations: 4.109 kB / 0.6886 GB, free: 14.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001407/0.5097, allocations: 89.48 kB / 0.6887 GB, free: 14.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.5098, allocations: 8 kB / 0.6887 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5098, allocations: 0 / 0.6887 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5098, allocations: 0 / 0.6887 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.5099, allocations: 12 kB / 0.6887 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5099, allocations: 3.938 kB / 0.6887 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.309e-05/0.5099, allocations: 4 kB / 0.6887 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.5099, allocations: 4 kB / 0.6887 GB, free: 14.79 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 9.47e-05/0.51, allocations: 129.8 kB / 0.6888 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.5101, allocations: 7.891 kB / 0.6889 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.5103, allocations: 73.23 kB / 0.6889 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5103, allocations: 0 / 0.6889 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5103, allocations: 0 / 0.6889 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5103, allocations: 0 / 0.6889 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.5105, allocations: 173.6 kB / 0.6891 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.249e-06/0.5105, allocations: 3.938 kB / 0.6891 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.5105, allocations: 11.94 kB / 0.6891 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5105, allocations: 0 / 0.6891 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5106, allocations: 4 kB / 0.6891 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5106, allocations: 0 / 0.6891 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5106, allocations: 4 kB / 0.6891 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.5107, allocations: 159.6 kB / 0.6893 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.5108, allocations: 85.05 kB / 0.6893 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.5108, allocations: 0 / 0.6893 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.5109, allocations: 4 kB / 0.6894 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.5109, allocations: 4 kB / 0.6894 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.5109, allocations: 4 kB / 0.6894 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.511, allocations: 87.2 kB / 0.6894 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.511, allocations: 0 / 0.6894 GB, free: 13.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005873/0.5116, allocations: 151.5 kB / 0.6896 GB, free: 13.8 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.001426/0.513, allocations: 0.9388 MB / 0.6905 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.5132, allocations: 36.11 kB / 0.6905 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5132, allocations: 4 kB / 0.6905 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.5132, allocations: 16 kB / 0.6906 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.5135, allocations: 16.12 kB / 0.6906 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007185/0.5142, allocations: 269.7 kB / 0.6908 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.5146, allocations: 0.6884 MB / 0.6915 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.568e-05/0.5147, allocations: 15.94 kB / 0.6915 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.5148, allocations: 27.42 kB / 0.6915 GB, free: 11.71 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5148, allocations: 0 / 0.6915 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.5443, allocations: 4.998 MB / 0.6964 GB, free: 6.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.501, allocations: 13.97 kB / 0.6964 GB, free: 6.793 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1)