Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.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.0007707/0.0007707, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007696/0.0007696, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8228/0.8228, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.07827/0.07827, allocations: 17.45 MB / 277.4 MB, free: 11.78 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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: translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 412.8 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.467e-05, allocations: 3.156 kB / 412.8 MB, free: 12.47 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638:65: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 master/Obsolete.mo:12638:6-12638:65: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.WaterElectrolysis): time 0.02485/0.02488, allocations: 29.06 MB / 441.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.03846, allocations: 15.79 MB / 457.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.03988, allocations: 31.81 kB / 457.7 MB, free: 12.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.0409, allocations: 453.7 kB / 458.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.04398, allocations: 1.353 MB / 459.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005005/0.04898, allocations: 2.652 MB / 462.2 MB, free: 8.164 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002133/0.05111, allocations: 2.369 MB / 464.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.05215, allocations: 1.199 MB / 465.7 MB, free: 4.539 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.05335, allocations: 1.521 MB / 467.3 MB, free: 3.016 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009476/0.0543, allocations: 0.8844 MB / 468.1 MB, free: 2.129 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.05449, allocations: 224 kB / 468.4 MB, free: 1.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.05755, allocations: 1.743 MB / 470.1 MB, free: 168 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002926/0.05784, allocations: 0.51 MB / 470.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005416/0.05839, allocations: 0.7874 MB / 471.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.06394, allocations: 4.519 MB / 475.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.06394, allocations: 0 / 475.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.06394, allocations: 4 kB / 475.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.879e-05/0.06398, allocations: 0 / 475.9 MB, free: 10.32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.002806/0.06679, allocations: 2.462 MB / 478.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.06683, allocations: 8.031 kB / 478.4 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009186/0.06775, allocations: 443 kB / 478.8 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.06897, allocations: 1.046 MB / 479.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.06909, allocations: 207.9 kB / 480.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.06928, allocations: 200.3 kB / 480.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.07139, allocations: 2.165 MB / 482.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.07142, allocations: 3.938 kB / 482.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.07154, allocations: 84 kB / 482.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.07156, allocations: 48 kB / 482.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.07376, allocations: 2.214 MB / 484.8 MB, free: 1.305 MB / 378.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.005762/0.07952, allocations: 5.844 MB / 490.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.08115, allocations: 1.498 MB / 492.1 MB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.08169, allocations: 0.5334 MB / 492.7 MB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004238/0.08593, allocations: 3.323 MB / 496 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.08595, allocations: 43.56 kB / 496 MB, free: 5.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=88): time 2.505e-06/0.08595, allocations: 0 / 496 MB, free: 5.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.009082/0.09504, allocations: 4.665 MB / 0.4889 GB, free: 1.129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.09509, allocations: 119.8 kB / 0.4891 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007054/0.09579, allocations: 0.8592 MB / 0.4899 GB, free: 108 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.09585, allocations: 49.64 kB / 0.4899 GB, free: 52 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007263/0.09658, allocations: 0.9671 MB / 0.4909 GB, free: 15.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.09681, allocations: 400.7 kB / 0.4913 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.09712, allocations: 343.4 kB / 0.4916 GB, free: 14.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.09722, allocations: 349.9 kB / 0.4919 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.09777, allocations: 459.8 kB / 0.4924 GB, free: 13.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/0.09866, allocations: 1.195 MB / 0.4935 GB, free: 11.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.1002, allocations: 1.786 MB / 0.4953 GB, free: 9.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.1002, allocations: 8 kB / 0.4953 GB, free: 9.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.003354/0.1036, allocations: 2.054 MB / 0.4973 GB, free: 7.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1036, allocations: 16.06 kB / 0.4973 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/0.1036, allocations: 32 kB / 0.4973 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.1049, allocations: 374.2 kB / 0.4977 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/0.1057, allocations: 451.3 kB / 0.4981 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/0.109, allocations: 3.807 MB / 0.5018 GB, free: 2.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/0.1097, allocations: 91.88 kB / 0.5019 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.1098, allocations: 108 kB / 0.502 GB, free: 2.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 115 * 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 (219): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005775/0.1104, allocations: 381 kB / 0.5024 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.1106, allocations: 123.2 kB / 0.5025 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/0.1133, allocations: 1.597 MB / 0.5041 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1133, allocations: 12 kB / 0.5041 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1133, allocations: 0 / 0.5041 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1133, allocations: 3.984 kB / 0.5041 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1146, allocations: 1.121 MB / 0.5052 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1146, allocations: 4 kB / 0.5052 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.1152, allocations: 236 kB / 0.5054 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.1163, allocations: 357.9 kB / 0.5058 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.1163, allocations: 47.98 kB / 0.5058 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002787/0.1191, allocations: 3.709 MB / 0.5094 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.1191, allocations: 11.88 kB / 0.5094 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.1222, allocations: 2.196 MB / 0.5116 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.1224, allocations: 103.2 kB / 0.5117 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.1225, allocations: 24 kB / 0.5117 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.1228, allocations: 35.98 kB / 0.5117 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.123, allocations: 108.9 kB / 0.5118 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.123, allocations: 47.98 kB / 0.5119 GB, free: 8.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004564/0.1235, allocations: 0.5123 MB / 0.5124 GB, free: 7.672 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1235, allocations: 0 / 0.5124 GB, free: 7.672 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001588/0.1251, allocations: 0.7211 MB / 0.5131 GB, free: 6.949 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (O2_gas.logn,H2_gas.logn,anode.temperature,cathode.temperature,water.temperature,air.temperature,liquidWater.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 (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009557/0.126, allocations: 0.7508 MB / 0.5138 GB, free: 6.188 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.1278, allocations: 1.467 MB / 0.5153 GB, free: 4.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1278, allocations: 4 kB / 0.5153 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007631/0.1286, allocations: 0.774 MB / 0.516 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008171/0.1294, allocations: 240 kB / 0.5162 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003526/0.1329, allocations: 2.931 MB / 0.5191 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.1334, allocations: 0.6721 MB / 0.5198 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.1338, allocations: 272.3 kB / 0.52 GB, free: 15.67 MB / 442.7 MB Notification: Performance of SimCode: time 1.183e-06/0.1338, allocations: 0 / 0.52 GB, free: 15.67 MB / 442.7 MB Notification: Performance of Templates: time 0.03296/0.1667, allocations: 44.15 MB / 0.5631 GB, free: 3.539 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.45905748475343] Failed to read output from testmodel.py, exit status != 0: 0.301042890176177 0.18029534 0.11466020700000001 Calling exit ...