Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9387/0.9387, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.0841/0.0841, allocations: 17.38 MB / 276.6 MB, free: 11.86 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 411.4 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.05e-05, allocations: 3.969 kB / 411.4 MB, free: 436 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterSublimation): time 0.03073/0.03076, allocations: 26.45 MB / 437.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1828/0.2136, allocations: 10.92 MB / 448.8 MB, free: 59.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.2139, allocations: 18.06 kB / 448.8 MB, free: 59.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.2144, allocations: 267 kB / 449.1 MB, free: 59.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.2157, allocations: 1.083 MB / 450.2 MB, free: 58.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.2175, allocations: 1.617 MB / 451.8 MB, free: 58.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006701/0.2182, allocations: 1.461 MB / 453.3 MB, free: 57.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.2186, allocations: 0.6908 MB / 453.9 MB, free: 57.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.219, allocations: 0.9584 MB / 454.9 MB, free: 57.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.2194, allocations: 0.5708 MB / 455.5 MB, free: 57.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/0.2195, allocations: 126.1 kB / 455.6 MB, free: 57.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.2206, allocations: 1.142 MB / 456.7 MB, free: 56.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2207, allocations: 299.5 kB / 457 MB, free: 56.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.2209, allocations: 480.7 kB / 457.5 MB, free: 56.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.2224, allocations: 2.836 MB / 460.3 MB, free: 55.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2224, allocations: 0 / 460.3 MB, free: 55.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2224, allocations: 0 / 460.3 MB, free: 55.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.2224, allocations: 0 / 460.3 MB, free: 55.64 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.001292/0.2237, allocations: 1.573 MB / 461.9 MB, free: 54.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2237, allocations: 14.81 kB / 461.9 MB, free: 54.68 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.2238, allocations: 168.7 kB / 462.1 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005279/0.2244, allocations: 259.3 kB / 462.3 MB, free: 54.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.2249, allocations: 0.5535 MB / 462.9 MB, free: 54.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.225, allocations: 92.52 kB / 463 MB, free: 54.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.2251, allocations: 115.4 kB / 463.1 MB, free: 54.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2261, allocations: 1.2 MB / 464.3 MB, free: 53.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.2262, allocations: 192 / 464.3 MB, free: 53.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.2262, allocations: 46.34 kB / 464.3 MB, free: 53.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2262, allocations: 31.47 kB / 464.4 MB, free: 53.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2274, allocations: 1.323 MB / 465.7 MB, free: 53.11 MB / 410.7 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.00291/0.2303, allocations: 3.08 MB / 468.8 MB, free: 51.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008103/0.2311, allocations: 0.8925 MB / 469.7 MB, free: 51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.2314, allocations: 348.2 kB / 470 MB, free: 50.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/0.2335, allocations: 2.008 MB / 472 MB, free: 49.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.2336, allocations: 41.72 kB / 472.1 MB, free: 49.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.784e-06/0.2336, allocations: 0 / 472.1 MB, free: 49.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.002597/0.2362, allocations: 2.046 MB / 474.1 MB, free: 49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2362, allocations: 58.5 kB / 474.2 MB, free: 48.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.2366, allocations: 0.5374 MB / 474.7 MB, free: 48.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2366, allocations: 40.95 kB / 474.7 MB, free: 48.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.2368, allocations: 0.5431 MB / 475.3 MB, free: 48.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2369, allocations: 272.7 kB / 475.5 MB, free: 47.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.2371, allocations: 189.8 kB / 475.7 MB, free: 47.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.2371, allocations: 381.9 kB / 476.1 MB, free: 47.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.2374, allocations: 231.6 kB / 476.3 MB, free: 47.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.2378, allocations: 0.5488 MB / 476.9 MB, free: 47 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solid.temperature = solid.temperature_start (gas.temperature_start = solid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/0.241, allocations: 2.046 MB / 478.9 MB, free: 46.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.241, allocations: 3.031 kB / 478.9 MB, free: 46.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001087/0.2421, allocations: 0.9609 MB / 479.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.2421, allocations: 9.688 kB / 479.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.2421, allocations: 10.19 kB / 479.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.2423, allocations: 76.41 kB / 480 MB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.2429, allocations: 237.9 kB / 480.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.244, allocations: 1.617 MB / 481.8 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.2442, allocations: 34.89 kB / 481.9 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.2443, allocations: 53.03 kB / 481.9 MB, free: 44.19 MB / 410.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solid.temperature = solid.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003309/0.2446, allocations: 250.4 kB / 482.2 MB, free: 43.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.2447, allocations: 82.27 kB / 482.2 MB, free: 43.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.2461, allocations: 0.8396 MB / 483.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.2461, allocations: 8.344 kB / 483.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2461, allocations: 1.562 kB / 483.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2461, allocations: 9.766 kB / 483.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.2479, allocations: 1.596 MB / 484.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.2479, allocations: 2.781 kB / 484.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.2482, allocations: 179.7 kB / 484.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.2484, allocations: 68.72 kB / 484.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.2484, allocations: 33.58 kB / 485 MB, free: 42.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007611/0.2492, allocations: 1.59 MB / 486.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2492, allocations: 2.344 kB / 486.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.2504, allocations: 1.171 MB / 487.7 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.2504, allocations: 84.31 kB / 487.8 MB, free: 40.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.2505, allocations: 19.66 kB / 487.8 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.2507, allocations: 18 kB / 487.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2508, allocations: 77.33 kB / 487.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.2508, allocations: 34.61 kB / 488 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.2511, allocations: 356.1 kB / 488.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2511, allocations: 0 / 488.3 MB, free: 40.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001047/0.2521, allocations: 457.4 kB / 488.8 MB, free: 40.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.molarEnthalpy,H2O_solid.logn) * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002057/0.2542, allocations: 2.154 MB / 490.9 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.2552, allocations: 0.7775 MB / 491.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2552, allocations: 3.875 kB / 491.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.2556, allocations: 445.5 kB / 492.1 MB, free: 38.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.2562, allocations: 180.5 kB / 492.3 MB, free: 38.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.2617, allocations: 6.665 MB / 499 MB, free: 34.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.262, allocations: 421.6 kB / 499.4 MB, free: 34.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004168/0.2624, allocations: 199.8 kB / 499.6 MB, free: 34.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/0.2627, allocations: 448.4 kB / 0.4883 GB, free: 33.89 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2627, allocations: 2.656 kB / 0.4883 GB, free: 33.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.296, allocations: 23.97 MB / 0.5117 GB, free: 18.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.306, allocations: 3.938 kB / 0.5117 GB, free: 18.85 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterSublimation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.28769535664469] Failed to read output from testmodel.py, exit status != 0: 8.397911351174116 8.405782895 8.181967088 Calling exit ...