Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001827/0.001827, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.002275/0.002275, allocations: 216 kB / 23 MB, free: 4.969 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.1361/0.1361, allocations: 23.88 MB / 337.1 MB, free: 11.09 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: translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") translateModel(Chemical.Obsolete.Examples.WaterElectrolysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterElectrolysis") [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.002124/0.002124, allocations: 79.88 kB / 472.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 59.85 MB / 0.5198 GB, free: 9.773 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.07523/0.3708, allocations: 28.64 MB / 0.5477 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02434/0.3951, allocations: 15.78 MB / 0.5631 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001728/0.3968, allocations: 35.69 kB / 0.5632 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.3984, allocations: 449.6 kB / 0.5636 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.4029, allocations: 1.301 MB / 0.5649 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007886/0.4108, allocations: 2.578 MB / 0.5674 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.4148, allocations: 2.284 MB / 0.5696 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.4167, allocations: 1.219 MB / 0.5708 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.4181, allocations: 1.056 MB / 0.5718 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.42, allocations: 1.167 MB / 0.573 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003702/0.4204, allocations: 224 kB / 0.5732 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005359/0.4258, allocations: 1.771 MB / 0.5749 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000599/0.4264, allocations: 0.4985 MB / 0.5754 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.4277, allocations: 0.9221 MB / 0.5763 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009728/0.4374, allocations: 4.334 MB / 0.5805 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4374, allocations: 0 / 0.5805 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4374, allocations: 0 / 0.5805 GB, free: 11.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.4374, allocations: 0 / 0.5805 GB, free: 11.54 MB / 430.1 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.00495/0.4424, allocations: 2.481 MB / 0.583 GB, free: 9.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4424, allocations: 8.031 kB / 0.583 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.4443, allocations: 439 kB / 0.5834 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.4465, allocations: 1.059 MB / 0.5844 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.4467, allocations: 207.7 kB / 0.5846 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.447, allocations: 200 kB / 0.5848 GB, free: 7.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003829/0.4508, allocations: 2.157 MB / 0.5869 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/0.4509, allocations: 3.938 kB / 0.5869 GB, free: 4.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.4511, allocations: 76 kB / 0.587 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.4511, allocations: 52 kB / 0.587 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.455, allocations: 2.218 MB / 0.5892 GB, free: 2.504 MB / 430.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.01066/0.4657, allocations: 5.853 MB / 0.5949 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.4685, allocations: 1.497 MB / 0.5964 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009556/0.4695, allocations: 0.5371 MB / 0.5969 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008302/0.4778, allocations: 3.306 MB / 0.6001 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.4779, allocations: 47.55 kB / 0.6002 GB, free: 7.027 MB / 446.1 MB Notification: Performance of pre-optimization done (n=88): time 3.507e-06/0.4779, allocations: 0 / 0.6002 GB, free: 7.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.0212/0.4991, allocations: 4.655 MB / 0.6047 GB, free: 2.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.4991, allocations: 119.8 kB / 0.6048 GB, free: 2.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.5004, allocations: 0.8708 MB / 0.6057 GB, free: 1.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.5005, allocations: 45.7 kB / 0.6057 GB, free: 1.258 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007445/0.5012, allocations: 0.9671 MB / 0.6067 GB, free: 284 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003779/0.5016, allocations: 408.9 kB / 0.6071 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/0.5021, allocations: 351.4 kB / 0.6074 GB, free: 15.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5023, allocations: 345.9 kB / 0.6077 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008461/0.5031, allocations: 459.8 kB / 0.6082 GB, free: 14.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.5046, allocations: 1.195 MB / 0.6093 GB, free: 13.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.5071, allocations: 1.79 MB / 0.6111 GB, free: 11.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.5071, allocations: 4 kB / 0.6111 GB, free: 11.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=230) (initialization): time 0.00586/0.513, allocations: 2.061 MB / 0.6131 GB, free: 8.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.513, allocations: 19.94 kB / 0.6131 GB, free: 8.934 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/0.513, allocations: 24 kB / 0.6131 GB, free: 8.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002886/0.5159, allocations: 382.4 kB / 0.6135 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.5177, allocations: 447.3 kB / 0.6139 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006037/0.5238, allocations: 3.812 MB / 0.6177 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5251, allocations: 79.86 kB / 0.6177 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.5253, allocations: 112 kB / 0.6178 GB, free: 3.855 MB / 462.1 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.0007332/0.526, allocations: 385 kB / 0.6182 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.5263, allocations: 119.2 kB / 0.6183 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/0.5317, allocations: 1.601 MB / 0.6199 GB, free: 1.734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.5317, allocations: 11.92 kB / 0.6199 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5317, allocations: 0 / 0.6199 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.532, allocations: 99.23 kB / 0.62 GB, free: 1.625 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.5322, allocations: 16 kB / 0.62 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007015/0.5329, allocations: 31.98 kB / 0.62 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.5331, allocations: 84.84 kB / 0.6201 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004494/0.5376, allocations: 1.525 MB / 0.6216 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002934/0.5405, allocations: 1.853 MB / 0.6234 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000761/0.5413, allocations: 399.8 kB / 0.6238 GB, free: 13.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007437/0.542, allocations: 0.5085 MB / 0.6243 GB, free: 13.18 MB / 478.1 MB Notification: Performance of Backend: time 1.6e-07/0.542, allocations: 0 / 0.6243 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.547, allocations: 2.126 MB / 0.6264 GB, free: 11.03 MB / 478.1 MB Notification: Performance of SimCode: time 0.005118/0.5521, allocations: 3.365 MB / 0.6297 GB, free: 7.602 MB / 478.1 MB Notification: Performance of Templates: time 0.05244/0.6045, allocations: 32.81 MB / 0.6617 GB, free: 6.902 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.sim & ./Chemical_Chemical.Obsolete.Examples.WaterElectrolysis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterElectrolysis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.785297109992825] Failed to read output from testmodel.py, exit status != 0: 0.6136429219914135 0.627782332 0.187116328 Calling exit ...