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.001304/0.001304, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001477/0.001477, allocations: 207.3 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.341/1.341, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 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.1293/0.1293, allocations: 23.86 MB / 336.3 MB, free: 11.3 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.89 kB / 471.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3071, allocations: 59.86 MB / 0.5186 GB, free: 9.566 MB / 382.1 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.03985/0.347, allocations: 26.68 MB / 0.5446 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.3648, allocations: 12.41 MB / 0.5568 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.3662, allocations: 19.81 kB / 0.5568 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.3673, allocations: 283.2 kB / 0.557 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003865/0.3712, allocations: 1.063 MB / 0.5581 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005253/0.3765, allocations: 1.572 MB / 0.5596 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.3791, allocations: 1.423 MB / 0.561 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.3803, allocations: 0.697 MB / 0.5617 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.3813, allocations: 0.6876 MB / 0.5624 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.3827, allocations: 0.7348 MB / 0.5631 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.383, allocations: 128 kB / 0.5632 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.3872, allocations: 1.198 MB / 0.5644 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.3877, allocations: 292.5 kB / 0.5646 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.3887, allocations: 0.6563 MB / 0.5653 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007072/0.3958, allocations: 2.713 MB / 0.5679 GB, free: 7.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.3958, allocations: 0 / 0.5679 GB, free: 7.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3958, allocations: 0 / 0.5679 GB, free: 7.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.052e-05/0.3958, allocations: 0 / 0.5679 GB, free: 7.617 MB / 414.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.003748/0.3996, allocations: 1.583 MB / 0.5695 GB, free: 5.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.3996, allocations: 12.03 kB / 0.5695 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/0.3999, allocations: 169.3 kB / 0.5697 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.4011, allocations: 259.9 kB / 0.5699 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.4024, allocations: 0.5581 MB / 0.5704 GB, free: 4.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.4025, allocations: 94.62 kB / 0.5705 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.4027, allocations: 120.3 kB / 0.5706 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.4049, allocations: 1.202 MB / 0.5718 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.405, allocations: 0 / 0.5718 GB, free: 3.516 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4051, allocations: 48 kB / 0.5719 GB, free: 3.469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.4051, allocations: 28 kB / 0.5719 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.4073, allocations: 1.336 MB / 0.5732 GB, free: 2.098 MB / 414.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.006641/0.414, allocations: 3.957 MB / 0.5771 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4154, allocations: 0.8985 MB / 0.5779 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005635/0.416, allocations: 339.7 kB / 0.5783 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004339/0.4203, allocations: 2.119 MB / 0.5803 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4204, allocations: 39.06 kB / 0.5804 GB, free: 10.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 1.803e-06/0.4204, allocations: 0 / 0.5804 GB, free: 10.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004664/0.425, allocations: 2.044 MB / 0.5824 GB, free: 8.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4251, allocations: 68 kB / 0.5824 GB, free: 8.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.4257, allocations: 0.5186 MB / 0.5829 GB, free: 7.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.695e-05/0.4258, allocations: 41.7 kB / 0.583 GB, free: 7.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.4262, allocations: 0.5505 MB / 0.5835 GB, free: 7.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.4264, allocations: 273.7 kB / 0.5838 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.4267, allocations: 186.9 kB / 0.584 GB, free: 6.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4269, allocations: 382.8 kB / 0.5843 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.4273, allocations: 234.2 kB / 0.5845 GB, free: 6.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006797/0.428, allocations: 0.5408 MB / 0.5851 GB, free: 5.43 MB / 430.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.006115/0.4341, allocations: 2.043 MB / 0.5871 GB, free: 3.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.4341, allocations: 4 kB / 0.5871 GB, free: 3.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001744/0.4358, allocations: 0.9587 MB / 0.588 GB, free: 2.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.4359, allocations: 12 kB / 0.588 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.4359, allocations: 16.12 kB / 0.588 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.4361, allocations: 76.81 kB / 0.5881 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.4369, allocations: 231.6 kB / 0.5883 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4387, allocations: 1.623 MB / 0.5899 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000519/0.4392, allocations: 36 kB / 0.5899 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/0.4393, allocations: 56 kB / 0.59 GB, free: 112 kB / 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.000504/0.4398, allocations: 261.5 kB / 0.5903 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.44, allocations: 75.47 kB / 0.5903 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4417, allocations: 0.8457 MB / 0.5911 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4418, allocations: 8 kB / 0.5912 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4418, allocations: 0 / 0.5912 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4418, allocations: 3.984 kB / 0.5912 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.4445, allocations: 1.726 MB / 0.5928 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.4445, allocations: 8.312 kB / 0.5929 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006419/0.4451, allocations: 183.7 kB / 0.593 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.4453, allocations: 64.77 kB / 0.5931 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.4454, allocations: 31.98 kB / 0.5931 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.4469, allocations: 1.604 MB / 0.5947 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4469, allocations: 7.938 kB / 0.5947 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.4487, allocations: 1.183 MB / 0.5959 GB, free: 9.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.4489, allocations: 71.52 kB / 0.5959 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.4489, allocations: 20 kB / 0.5959 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.4492, allocations: 16 kB / 0.596 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.4494, allocations: 80.47 kB / 0.596 GB, free: 9.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.4494, allocations: 39.98 kB / 0.5961 GB, free: 9.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003973/0.4498, allocations: 342.8 kB / 0.5964 GB, free: 9.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4498, allocations: 4 kB / 0.5964 GB, free: 9.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001251/0.4511, allocations: 458.9 kB / 0.5968 GB, free: 8.832 MB / 446.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.002997/0.4541, allocations: 2.143 MB / 0.5989 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.4555, allocations: 0.7859 MB / 0.5997 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4555, allocations: 0 / 0.5997 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006299/0.4561, allocations: 450.7 kB / 0.6001 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.457, allocations: 178.8 kB / 0.6003 GB, free: 5.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009835/0.4668, allocations: 6.758 MB / 0.6069 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/0.4676, allocations: 1.009 MB / 0.6079 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006365/0.4682, allocations: 202 kB / 0.6081 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005963/0.4688, allocations: 447.2 kB / 0.6085 GB, free: 12.33 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4688, allocations: 0 / 0.6085 GB, free: 12.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06146/0.5303, allocations: 23.33 MB / 0.6313 GB, free: 5.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.58, allocations: 10.75 kB / 0.6313 GB, free: 5.152 MB / 478.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.WaterSublimation_res.csv --start-time 0 --stop-time 49.7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01988 Chemical_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.176198911998654] Failed to read output from testmodel.py, exit status != 0: 13.711331956998038 13.734491345 13.33388375 Calling exit ...