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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 218.3 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 230.2 MB / 256.1 MB, free: 8.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1965/0.1965, allocations: 46.88 MB / 359.3 MB, free: 4.988 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002158/0.002158, allocations: 83.86 kB / 0.494 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2663, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1605/0.4267, allocations: 154.4 MB / 0.7092 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.4286, allocations: 1.476 MB / 0.7106 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.4287, allocations: 0 / 0.7106 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.429, allocations: 43.8 kB / 0.7106 GB, free: 8.707 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.4314, allocations: 1.079 MB / 0.7117 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.988e-06/0.4314, allocations: 4 kB / 0.7117 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.4315, allocations: 63.64 kB / 0.7118 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.4316, allocations: 7.938 kB / 0.7118 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.4316, allocations: 31.84 kB / 0.7118 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/0.4317, allocations: 31.84 kB / 0.7118 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.4317, allocations: 0 / 0.7118 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.4346, allocations: 1.922 MB / 0.7137 GB, free: 5.566 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.4347, allocations: 15.91 kB / 0.7137 GB, free: 5.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.4347, allocations: 19.94 kB / 0.7137 GB, free: 5.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.436, allocations: 0.9235 MB / 0.7146 GB, free: 4.605 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.436, allocations: 0 / 0.7146 GB, free: 4.605 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.436, allocations: 0 / 0.7146 GB, free: 4.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.436, allocations: 3.938 kB / 0.7147 GB, free: 4.602 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006701/0.4367, allocations: 0.5132 MB / 0.7152 GB, free: 4.039 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.4367, allocations: 12.03 kB / 0.7152 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.4367, allocations: 38.75 kB / 0.7152 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.4368, allocations: 8.891 kB / 0.7152 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.4369, allocations: 167.4 kB / 0.7154 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4369, allocations: 11.98 kB / 0.7154 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.4369, allocations: 0 / 0.7154 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.4371, allocations: 81.61 kB / 0.7155 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.4371, allocations: 0 / 0.7155 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4371, allocations: 4 kB / 0.7155 GB, free: 3.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.4371, allocations: 11.98 kB / 0.7155 GB, free: 3.656 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.421e-05/0.4372, allocations: 59.97 kB / 0.7155 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.4376, allocations: 320.7 kB / 0.7158 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.473e-05/0.4377, allocations: 38.5 kB / 0.7159 GB, free: 3.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.4378, allocations: 20.97 kB / 0.7159 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.438, allocations: 259.2 kB / 0.7161 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.438, allocations: 34.55 kB / 0.7162 GB, free: 2.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.438, allocations: 4 kB / 0.7162 GB, free: 2.809 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0001806/0.4382, allocations: 61.69 kB / 0.7162 GB, free: 2.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.4382, allocations: 51.41 kB / 0.7163 GB, free: 2.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.636e-05/0.4383, allocations: 109.8 kB / 0.7164 GB, free: 2.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.4383, allocations: 25.7 kB / 0.7164 GB, free: 2.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.4384, allocations: 96.16 kB / 0.7165 GB, free: 2.434 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.4384, allocations: 23.77 kB / 0.7165 GB, free: 2.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.4384, allocations: 21.67 kB / 0.7165 GB, free: 2.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4385, allocations: 326.8 kB / 0.7169 GB, free: 2.055 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.4386, allocations: 8 kB / 0.7169 GB, free: 2.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.4386, allocations: 39.41 kB / 0.7169 GB, free: 1.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.792e-05/0.4387, allocations: 59.36 kB / 0.717 GB, free: 1.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4387, allocations: 7.938 kB / 0.717 GB, free: 1.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001295/0.4388, allocations: 78.06 kB / 0.717 GB, free: 1.836 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.4388, allocations: 4 kB / 0.717 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4388, allocations: 4.047 kB / 0.7171 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4388, allocations: 8 kB / 0.7171 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.4389, allocations: 15.94 kB / 0.7171 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4389, allocations: 4 kB / 0.7171 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.439, allocations: 0 / 0.7171 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.439, allocations: 4 kB / 0.7171 GB, free: 1.797 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.15e-05/0.4391, allocations: 125.9 kB / 0.7172 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.4391, allocations: 11.89 kB / 0.7172 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.4392, allocations: 77.17 kB / 0.7173 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4392, allocations: 0 / 0.7173 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4393, allocations: 0 / 0.7173 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4393, allocations: 0 / 0.7173 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.4394, allocations: 169.7 kB / 0.7175 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4394, allocations: 3.938 kB / 0.7175 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.4395, allocations: 7.984 kB / 0.7175 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4395, allocations: 0 / 0.7175 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.4395, allocations: 4 kB / 0.7175 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4395, allocations: 0 / 0.7175 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4395, allocations: 160 / 0.7175 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.4396, allocations: 155.5 kB / 0.7176 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.4396, allocations: 89.05 kB / 0.7177 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.4397, allocations: 3.984 kB / 0.7177 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.4397, allocations: 0 / 0.7177 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.4397, allocations: 4 kB / 0.7177 GB, free: 1.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4397, allocations: 7.922 kB / 0.7177 GB, free: 1.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.4398, allocations: 91.39 kB / 0.7178 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4398, allocations: 4 kB / 0.7178 GB, free: 0.957 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000434/0.4402, allocations: 147.4 kB / 0.7179 GB, free: 0.8125 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.001068/0.4413, allocations: 0.9365 MB / 0.7189 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.4414, allocations: 36.05 kB / 0.7189 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4414, allocations: 4.062 kB / 0.7189 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.4414, allocations: 16 kB / 0.7189 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.4417, allocations: 10.33 kB / 0.7189 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.4423, allocations: 265.2 kB / 0.7192 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.4426, allocations: 0.688 MB / 0.7198 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.789e-05/0.4426, allocations: 15.98 kB / 0.7199 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.4427, allocations: 35.36 kB / 0.7199 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.4427, allocations: 0 / 0.7199 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.4671, allocations: 5.001 MB / 0.7248 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.461, allocations: 7.453 kB / 0.7248 GB, free: 9.785 MB / 0.5606 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.110726765007712]