Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_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.001878/0.001878, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247 MB, free: 10.42 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.2536/0.2536, allocations: 46.11 MB / 344.3 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.002145/0.002145, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1901/0.5086, allocations: 155.1 MB / 0.6821 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.5215, allocations: 10.54 MB / 0.6924 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.5217, allocations: 0 / 0.6924 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.5222, allocations: 83.48 kB / 0.6925 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007832/0.5301, allocations: 3.042 MB / 0.6954 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.5305, allocations: 162 kB / 0.6956 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007227/0.5312, allocations: 0.5295 MB / 0.6961 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.5313, allocations: 28.33 kB / 0.6961 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.5316, allocations: 223.2 kB / 0.6964 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007761/0.5324, allocations: 379 kB / 0.6967 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.5325, allocations: 16 kB / 0.6967 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008715/0.5412, allocations: 4.698 MB / 0.7013 GB, free: 2.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.5414, allocations: 103.7 kB / 0.7014 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.5416, allocations: 159.2 kB / 0.7016 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005701/0.5473, allocations: 2.439 MB / 0.7039 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5474, allocations: 0 / 0.7039 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5474, allocations: 0 / 0.7039 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.5474, allocations: 0 / 0.7039 GB, free: 15.6 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002685/0.5501, allocations: 1.092 MB / 0.705 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5501, allocations: 12.02 kB / 0.705 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.881e-05/0.5502, allocations: 70.72 kB / 0.7051 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.5504, allocations: 39.94 kB / 0.7051 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.5507, allocations: 242.7 kB / 0.7054 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.5509, allocations: 131.5 kB / 0.7055 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.5509, allocations: 35.98 kB / 0.7055 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.5518, allocations: 0.5564 MB / 0.7061 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.5518, allocations: 3.984 kB / 0.7061 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.5519, allocations: 15.94 kB / 0.7061 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.5519, allocations: 40.47 kB / 0.7061 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.5534, allocations: 1.247 MB / 0.7073 GB, free: 11.96 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.556, allocations: 1.98 MB / 0.7093 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.5568, allocations: 264.8 kB / 0.7095 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.557, allocations: 114.1 kB / 0.7096 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003419/0.5604, allocations: 3.103 MB / 0.7127 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.5604, allocations: 38.56 kB / 0.7127 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.894e-06/0.5604, allocations: 4 kB / 0.7127 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001871/0.5623, allocations: 0.7147 MB / 0.7134 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.5624, allocations: 63.41 kB / 0.7135 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.5626, allocations: 206.9 kB / 0.7137 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.5627, allocations: 29.7 kB / 0.7137 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.5628, allocations: 200.3 kB / 0.7139 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.5629, allocations: 166.6 kB / 0.714 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.5631, allocations: 134.2 kB / 0.7142 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5633, allocations: 338.8 kB / 0.7145 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.5635, allocations: 105.2 kB / 0.7146 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.5639, allocations: 417.4 kB / 0.715 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.5647, allocations: 0.5669 MB / 0.7155 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5647, allocations: 4 kB / 0.7155 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009502/0.5657, allocations: 0.5442 MB / 0.7161 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5657, allocations: 12 kB / 0.7161 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5657, allocations: 8 kB / 0.7161 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.5658, allocations: 16 kB / 0.7161 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.5664, allocations: 207.5 kB / 0.7163 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007582/0.5672, allocations: 1.188 MB / 0.7175 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.5675, allocations: 24 kB / 0.7175 GB, free: 452 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.206e-05/0.5676, allocations: 55.92 kB / 0.7175 GB, free: 396 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.5678, allocations: 177.5 kB / 0.7177 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.5678, allocations: 28.05 kB / 0.7177 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2378/0.8056, allocations: 0.6311 MB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.8057, allocations: 4.75 kB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8057, allocations: 0.5 kB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8057, allocations: 0.5938 kB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.8069, allocations: 0.8175 MB / 0.7192 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.8069, allocations: 1.062 kB / 0.7192 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.8074, allocations: 105.4 kB / 0.7193 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.8075, allocations: 6.125 kB / 0.7193 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.8075, allocations: 11.95 kB / 0.7193 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000354/0.8078, allocations: 1.175 MB / 0.7204 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.8079, allocations: 4.844 kB / 0.7204 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.8084, allocations: 356.5 kB / 0.7208 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.8085, allocations: 120.2 kB / 0.7209 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.8086, allocations: 12.67 kB / 0.7209 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.8088, allocations: 13.98 kB / 0.7209 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.8089, allocations: 23.22 kB / 0.7209 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/0.809, allocations: 23.09 kB / 0.721 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002118/0.8092, allocations: 176.7 kB / 0.7211 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8092, allocations: 0 / 0.7211 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00201/0.8112, allocations: 0.5042 MB / 0.7216 GB, free: 180.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00231/0.8135, allocations: 1.551 MB / 0.7231 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008886/0.8144, allocations: 365.7 kB / 0.7235 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.8145, allocations: 1.469 kB / 0.7235 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.8148, allocations: 152.1 kB / 0.7236 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007299/0.8156, allocations: 123.6 kB / 0.7237 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.8271, allocations: 8.855 MB / 0.7324 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.8273, allocations: 0.7704 MB / 0.7331 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006012/0.8279, allocations: 198.4 kB / 0.7333 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.8282, allocations: 124.6 kB / 0.7335 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.8282, allocations: 3.938 kB / 0.7335 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04059/0.8688, allocations: 18.6 MB / 0.7516 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.96, allocations: 9.359 kB / 0.7516 GB, free: 156.9 MB / 0.5606 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1)