Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 92.3 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007562/0.0007562, allocations: 180.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 241.9 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2427/0.2427, allocations: 44.21 MB / 337.2 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 12.22 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 61.93 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0282/0.1597, allocations: 25.06 MB / 496.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.1722, allocations: 10.24 MB / 0.4951 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.1726, allocations: 0 / 0.4951 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.1729, allocations: 55.64 kB / 0.4951 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02026/0.1932, allocations: 6.757 MB / 0.5017 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009721/0.1942, allocations: 310.7 kB / 0.502 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.1951, allocations: 0.5763 MB / 0.5026 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.1952, allocations: 24.3 kB / 0.5026 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.1957, allocations: 179.4 kB / 0.5028 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3722/0.5679, allocations: 11.35 MB / 0.5139 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.32e-05/0.5681, allocations: 9.625 kB / 0.5139 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02519/0.5933, allocations: 11.45 MB / 0.5251 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.5935, allocations: 88.61 kB / 0.5252 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.5936, allocations: 77.23 kB / 0.5252 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01242/0.6061, allocations: 4.269 MB / 0.5294 GB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6061, allocations: 0 / 0.5294 GB, free: 14.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.6061, allocations: 0 / 0.5294 GB, free: 14.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.6061, allocations: 0 / 0.5294 GB, free: 14.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005699/0.6118, allocations: 1.488 MB / 0.5308 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.6119, allocations: 12.56 kB / 0.5309 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.3e-05/0.612, allocations: 67.06 kB / 0.5309 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.6122, allocations: 36.91 kB / 0.531 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.6125, allocations: 241.6 kB / 0.5312 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.6125, allocations: 19.38 kB / 0.5312 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.6125, allocations: 29 kB / 0.5312 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.6133, allocations: 0.5097 MB / 0.5317 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.6134, allocations: 0 / 0.5317 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.994e-05/0.6134, allocations: 10.38 kB / 0.5317 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.306e-05/0.6135, allocations: 26.36 kB / 0.5318 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009861/0.6145, allocations: 0.9205 MB / 0.5327 GB, free: 11.86 MB / 382.1 MB 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.001883/0.6164, allocations: 1.894 MB / 0.5345 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.617, allocations: 266.5 kB / 0.5348 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.6172, allocations: 104.3 kB / 0.5349 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01783/0.635, allocations: 15.76 MB / 0.5503 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/0.6357, allocations: 241.7 kB / 0.5505 GB, free: 7.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 4.519e-06/0.6357, allocations: 0 / 0.5505 GB, free: 7.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002312/0.6381, allocations: 0.7706 MB / 0.5512 GB, free: 6.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.6382, allocations: 271.5 kB / 0.5515 GB, free: 6.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.6385, allocations: 206.2 kB / 0.5517 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.6386, allocations: 35.64 kB / 0.5517 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.6388, allocations: 195.6 kB / 0.5519 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.6389, allocations: 131.9 kB / 0.552 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.639, allocations: 6.688 kB / 0.552 GB, free: 5.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.6392, allocations: 332.7 kB / 0.5524 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.6394, allocations: 92.5 kB / 0.5525 GB, free: 5.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005527/0.64, allocations: 360.6 kB / 0.5528 GB, free: 4.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.6403, allocations: 156.5 kB / 0.5529 GB, free: 4.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.6403, allocations: 4 kB / 0.5529 GB, free: 4.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001185/0.6415, allocations: 0.4961 MB / 0.5534 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.6416, allocations: 8 kB / 0.5534 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.6416, allocations: 15.19 kB / 0.5535 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.6416, allocations: 12 kB / 0.5535 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.6423, allocations: 180.2 kB / 0.5536 GB, free: 4.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007591/0.6431, allocations: 1.196 MB / 0.5548 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.6434, allocations: 29.52 kB / 0.5548 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.789e-05/0.6435, allocations: 46.61 kB / 0.5549 GB, free: 2.914 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.6437, allocations: 179.2 kB / 0.5551 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.6439, allocations: 31.72 kB / 0.5551 GB, free: 2.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.645, allocations: 492 kB / 0.5555 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.6451, allocations: 4 kB / 0.5556 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.6451, allocations: 2.25 kB / 0.5556 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6451, allocations: 0 / 0.5556 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.6462, allocations: 0.5982 MB / 0.5561 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.6462, allocations: 8.031 kB / 0.5561 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.6466, allocations: 90.77 kB / 0.5562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6466, allocations: 0 / 0.5562 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.6466, allocations: 11.5 kB / 0.5562 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008111/0.6475, allocations: 1.173 MB / 0.5574 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6475, allocations: 3.75 kB / 0.5574 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.6481, allocations: 325.1 kB / 0.5577 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.6482, allocations: 115.7 kB / 0.5578 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.6482, allocations: 7.125 kB / 0.5578 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.6485, allocations: 19.08 kB / 0.5578 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.6485, allocations: 23.47 kB / 0.5579 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.6486, allocations: 15.3 kB / 0.5579 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001765/0.6488, allocations: 165.5 kB / 0.558 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.6488, allocations: 8 kB / 0.558 GB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006818/0.6556, allocations: 1.67 MB / 0.5597 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01227/0.6679, allocations: 2.866 MB / 0.5625 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.6695, allocations: 321.4 kB / 0.5628 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.6696, allocations: 2.25 kB / 0.5628 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.6701, allocations: 125.2 kB / 0.5629 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.6708, allocations: 65.45 kB / 0.563 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2246/0.8955, allocations: 142.1 MB / 0.7018 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.8958, allocations: 0.7449 MB / 0.7025 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005859/0.8964, allocations: 136.4 kB / 0.7026 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.8967, allocations: 107.1 kB / 0.7027 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of SimCode: time 1.803e-06/0.8967, allocations: 0 / 0.7027 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.308/1.205, allocations: 50.18 MB / 0.7517 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.205, allocations: 290.1 kB / 0.752 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/5.323, allocations: 4 kB / 0.752 GB, free: 172.2 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat