Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 104.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09358/0.09358, allocations: 15.54 MB / 318.2 MB, free: 13.55 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 67.89 kB / 444.9 MB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3088, allocations: 56.56 MB / 0.4897 GB, free: 20.69 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.WaterSublimation): time 0.03482/0.3437, allocations: 26.42 MB / 0.5155 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.362, allocations: 12.33 MB / 0.5276 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3634, allocations: 15.88 kB / 0.5276 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.3645, allocations: 285.7 kB / 0.5279 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.3687, allocations: 1.047 MB / 0.5289 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00492/0.3736, allocations: 1.557 MB / 0.5304 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002651/0.3762, allocations: 1.407 MB / 0.5318 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.3773, allocations: 0.692 MB / 0.5324 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3784, allocations: 0.6662 MB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.3795, allocations: 0.7318 MB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.3797, allocations: 128 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004622/0.3843, allocations: 1.197 MB / 0.5351 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004203/0.3847, allocations: 299 kB / 0.5354 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3857, allocations: 0.6495 MB / 0.536 GB, free: 8.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007441/0.3932, allocations: 2.626 MB / 0.5386 GB, free: 5.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3932, allocations: 4 kB / 0.5386 GB, free: 5.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3932, allocations: 0 / 0.5386 GB, free: 5.805 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.3932, allocations: 4 kB / 0.5386 GB, free: 5.801 MB / 398.1 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.003252/0.3965, allocations: 1.662 MB / 0.5402 GB, free: 4.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3965, allocations: 8.031 kB / 0.5402 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.3967, allocations: 173.3 kB / 0.5404 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3979, allocations: 259.9 kB / 0.5406 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.399, allocations: 0.6223 MB / 0.5412 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.3991, allocations: 82.64 kB / 0.5413 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.3993, allocations: 120.3 kB / 0.5414 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.4014, allocations: 1.202 MB / 0.5426 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.4014, allocations: 0 / 0.5426 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.927e-05/0.4015, allocations: 52 kB / 0.5427 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.4015, allocations: 24 kB / 0.5427 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002279/0.4038, allocations: 1.336 MB / 0.544 GB, free: 116 kB / 398.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.006606/0.4104, allocations: 4.015 MB / 0.5479 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.412, allocations: 0.8936 MB / 0.5488 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.4126, allocations: 343.7 kB / 0.5491 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005805/0.4184, allocations: 3.975 MB / 0.553 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.4185, allocations: 39.12 kB / 0.553 GB, free: 6.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.944e-06/0.4185, allocations: 3.938 kB / 0.553 GB, free: 6.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.005256/0.4237, allocations: 2.114 MB / 0.5551 GB, free: 3.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.4238, allocations: 60 kB / 0.5552 GB, free: 3.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.4245, allocations: 0.5225 MB / 0.5557 GB, free: 3.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/0.4246, allocations: 41.7 kB / 0.5557 GB, free: 3.301 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.425, allocations: 0.5428 MB / 0.5562 GB, free: 2.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.4252, allocations: 277.6 kB / 0.5565 GB, free: 2.477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.4255, allocations: 190.9 kB / 0.5567 GB, free: 2.285 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4257, allocations: 382.8 kB / 0.5571 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004549/0.4262, allocations: 230.2 kB / 0.5573 GB, free: 1.676 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/0.4269, allocations: 0.5408 MB / 0.5578 GB, free: 0.9961 MB / 414.1 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.006598/0.4335, allocations: 2.125 MB / 0.5599 GB, free: 14.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4335, allocations: 4 kB / 0.5599 GB, free: 14.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001829/0.4353, allocations: 0.9626 MB / 0.5608 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.4354, allocations: 12 kB / 0.5608 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.4354, allocations: 8 kB / 0.5608 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/0.4356, allocations: 72.81 kB / 0.5609 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/0.4363, allocations: 243.6 kB / 0.5611 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.4382, allocations: 1.719 MB / 0.5628 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.4387, allocations: 32 kB / 0.5628 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.4387, allocations: 64.05 kB / 0.5629 GB, free: 11.44 MB / 430.1 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.0004175/0.4392, allocations: 241.8 kB / 0.5631 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.4393, allocations: 87.36 kB / 0.5632 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.4411, allocations: 0.8457 MB / 0.564 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.4411, allocations: 4 kB / 0.5641 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4411, allocations: 4 kB / 0.5641 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4411, allocations: 3.984 kB / 0.5641 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.444, allocations: 1.754 MB / 0.5658 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.444, allocations: 0 / 0.5658 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/0.4447, allocations: 179.8 kB / 0.5659 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.4449, allocations: 72.72 kB / 0.566 GB, free: 8.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.445, allocations: 31.98 kB / 0.566 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.4467, allocations: 1.7 MB / 0.5677 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.4467, allocations: 16 kB / 0.5677 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.4488, allocations: 1.175 MB / 0.5689 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.449, allocations: 148.7 kB / 0.569 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.4491, allocations: 16 kB / 0.569 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.4494, allocations: 24 kB / 0.569 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.4496, allocations: 72.5 kB / 0.5691 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.4496, allocations: 36 kB / 0.5692 GB, free: 4.711 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004916/0.4501, allocations: 346.8 kB / 0.5695 GB, free: 4.375 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4501, allocations: 0 / 0.5695 GB, free: 4.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001403/0.4515, allocations: 462.9 kB / 0.5699 GB, free: 3.922 MB / 430.1 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.003343/0.4549, allocations: 2.144 MB / 0.572 GB, free: 1.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.4565, allocations: 0.7814 MB / 0.5728 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4565, allocations: 0 / 0.5728 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.4572, allocations: 451.4 kB / 0.5732 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4582, allocations: 186.4 kB / 0.5734 GB, free: 304 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.4697, allocations: 6.739 MB / 0.58 GB, free: 9.105 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.4707, allocations: 1.009 MB / 0.581 GB, free: 8.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008561/0.4716, allocations: 194 kB / 0.5811 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/0.4723, allocations: 451.2 kB / 0.5816 GB, free: 7.438 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4723, allocations: 0 / 0.5816 GB, free: 7.438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08915/0.5615, allocations: 22.4 MB / 0.6034 GB, free: 1.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.03, allocations: 0 / 0.6034 GB, free: 1.156 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Chemical_Chemical.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Examples.WaterSublimation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_WaterSublimation.fmu > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.02828038064763] Failed to read output from testmodel.py, exit status != 0: 13.31887974916026 13.331017364 12.935437887 Calling exit ...