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.001221/0.001225, allocations: 122.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.001245/0.001245, allocations: 201.2 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.399/1.399, allocations: 227.4 MB / 247 MB, free: 10.41 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.2276/0.2276, allocations: 46.11 MB / 344.3 MB, free: 11.45 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.003153/0.003153, allocations: 88.12 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3388, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1738/0.5126, allocations: 153.9 MB / 0.6809 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.5146, allocations: 1.468 MB / 0.6823 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.891e-05/0.5147, allocations: 0 / 0.6823 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.515, allocations: 43.73 kB / 0.6823 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.518, allocations: 1.068 MB / 0.6834 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.983e-06/0.518, allocations: 8 kB / 0.6834 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.5181, allocations: 59.66 kB / 0.6835 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.5182, allocations: 3.984 kB / 0.6835 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.5182, allocations: 27.92 kB / 0.6835 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.5183, allocations: 31.84 kB / 0.6835 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.5183, allocations: 0 / 0.6835 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.5216, allocations: 1.879 MB / 0.6854 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.5217, allocations: 7.984 kB / 0.6854 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.5217, allocations: 23.88 kB / 0.6854 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.5233, allocations: 0.9274 MB / 0.6863 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5233, allocations: 0 / 0.6863 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5233, allocations: 0 / 0.6863 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.5233, allocations: 0 / 0.6863 GB, free: 1.699 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.0006985/0.524, allocations: 0.5093 MB / 0.6868 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.524, allocations: 8.031 kB / 0.6868 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.5241, allocations: 42.75 kB / 0.6868 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.5241, allocations: 8.891 kB / 0.6868 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.5242, allocations: 163.4 kB / 0.687 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5243, allocations: 0 / 0.687 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5243, allocations: 11.98 kB / 0.687 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.5244, allocations: 89.53 kB / 0.6871 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5245, allocations: 0 / 0.6871 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.5245, allocations: 0 / 0.6871 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.5245, allocations: 8 kB / 0.6871 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.5246, allocations: 63.95 kB / 0.6872 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.5251, allocations: 324.6 kB / 0.6875 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.5252, allocations: 42.5 kB / 0.6875 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.5252, allocations: 20.97 kB / 0.6875 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.5254, allocations: 255.2 kB / 0.6878 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.5255, allocations: 34.56 kB / 0.6878 GB, free: 15.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.5255, allocations: 7.938 kB / 0.6878 GB, free: 15.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002057/0.5257, allocations: 73.67 kB / 0.6879 GB, free: 15.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.5258, allocations: 51.41 kB / 0.6879 GB, free: 15.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.5258, allocations: 109.8 kB / 0.688 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.5259, allocations: 25.7 kB / 0.6881 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.5259, allocations: 92.05 kB / 0.6882 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.526, allocations: 15.84 kB / 0.6882 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.526, allocations: 29.66 kB / 0.6882 GB, free: 15.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5261, allocations: 318.8 kB / 0.6885 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.5262, allocations: 11.98 kB / 0.6885 GB, free: 15.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.5262, allocations: 35.42 kB / 0.6885 GB, free: 15.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.5263, allocations: 55.38 kB / 0.6886 GB, free: 15.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5263, allocations: 7.984 kB / 0.6886 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001326/0.5265, allocations: 77.56 kB / 0.6887 GB, free: 14.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.5265, allocations: 8.109 kB / 0.6887 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5265, allocations: 3.938 kB / 0.6887 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5265, allocations: 0 / 0.6887 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.485e-05/0.5266, allocations: 19.92 kB / 0.6887 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.5266, allocations: 0 / 0.6887 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.5266, allocations: 11.98 kB / 0.6887 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.5267, allocations: 4 kB / 0.6887 GB, free: 14.89 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 8.892e-05/0.5268, allocations: 125.8 kB / 0.6888 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.5268, allocations: 7.891 kB / 0.6889 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.527, allocations: 73.17 kB / 0.6889 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.527, allocations: 0 / 0.6889 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.527, allocations: 4.609 kB / 0.6889 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.527, allocations: 0 / 0.6889 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.5272, allocations: 169.7 kB / 0.6891 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5272, allocations: 3.938 kB / 0.6891 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.5273, allocations: 12 kB / 0.6891 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5273, allocations: 3.984 kB / 0.6891 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.5273, allocations: 0 / 0.6891 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5273, allocations: 3.938 kB / 0.6891 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.5273, allocations: 0 / 0.6891 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.5275, allocations: 159.5 kB / 0.6893 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.5275, allocations: 85.05 kB / 0.6893 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.5275, allocations: 0 / 0.6893 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.5276, allocations: 4 kB / 0.6894 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.5276, allocations: 3.984 kB / 0.6894 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.5276, allocations: 7.938 kB / 0.6894 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.5277, allocations: 83.28 kB / 0.6894 GB, free: 14.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5277, allocations: 0 / 0.6894 GB, free: 14.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005114/0.5282, allocations: 151.5 kB / 0.6896 GB, free: 13.91 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.001198/0.5294, allocations: 0.9306 MB / 0.6905 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.5296, allocations: 44.34 kB / 0.6905 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5296, allocations: 4.062 kB / 0.6905 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.5296, allocations: 15.98 kB / 0.6906 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.5299, allocations: 20.22 kB / 0.6906 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.5305, allocations: 265.2 kB / 0.6908 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5309, allocations: 0.6845 MB / 0.6915 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.484e-05/0.5309, allocations: 19.92 kB / 0.6915 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.531, allocations: 23.44 kB / 0.6915 GB, free: 11.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.531, allocations: 0 / 0.6915 GB, free: 11.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.5549, allocations: 5.006 MB / 0.6964 GB, free: 6.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.53, allocations: 16.47 kB / 0.6964 GB, free: 6.891 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1)