Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.Definitions.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.001506/0.001506, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00174/0.00174, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1265/0.1265, allocations: 23.92 MB / 337.1 MB, free: 11.05 MB / 270.1 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.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.Definitions") [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.001926/0.001926, allocations: 67.89 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2801, allocations: 59.87 MB / 0.5198 GB, free: 9.723 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:437:5-437:64: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/Interfaces.mo:437:5-437:64: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.Definitions): time 0.06336/0.3434, allocations: 23.49 MB / 0.5428 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1494/0.4928, allocations: 122 MB / 0.6619 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.4931, allocations: 8 kB / 0.6619 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.4951, allocations: 0.6065 MB / 0.6625 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.4983, allocations: 1.936 MB / 0.6644 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.4995, allocations: 0.5316 MB / 0.6649 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003146/0.5026, allocations: 2.003 MB / 0.6669 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.5027, allocations: 25.97 kB / 0.6669 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.5032, allocations: 386.8 kB / 0.6673 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.5039, allocations: 498.5 kB / 0.6677 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.5039, allocations: 20 kB / 0.6678 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.5053, allocations: 0.702 MB / 0.6685 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.5054, allocations: 159.3 kB / 0.6686 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.5057, allocations: 230.4 kB / 0.6688 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.5076, allocations: 1.654 MB / 0.6704 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5076, allocations: 0 / 0.6704 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.467e-06/0.5076, allocations: 3.984 kB / 0.6704 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.5076, allocations: 0 / 0.6704 GB, free: 15.17 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001474/0.5091, allocations: 1.021 MB / 0.6714 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.5091, allocations: 12.03 kB / 0.6715 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007114/0.5098, allocations: 292 kB / 0.6717 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.5103, allocations: 362 kB / 0.6721 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.5104, allocations: 41.36 kB / 0.6721 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.5105, allocations: 44.36 kB / 0.6722 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.5131, allocations: 2.632 MB / 0.6747 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.5131, allocations: 0 / 0.6747 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/0.5131, allocations: 16 kB / 0.6747 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.5132, allocations: 89.27 kB / 0.6748 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.5173, allocations: 4.234 MB / 0.679 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.5216, allocations: 3.285 MB / 0.6822 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.5226, allocations: 475.2 kB / 0.6826 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.5228, allocations: 120.8 kB / 0.6827 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004525/0.5273, allocations: 1.834 MB / 0.6845 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.5273, allocations: 38.5 kB / 0.6846 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/0.5273, allocations: 4 kB / 0.6846 GB, free: 500 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0008169/0.5281, allocations: 465.8 kB / 0.685 GB, free: 28 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.5282, allocations: 55.34 kB / 0.6851 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/0.5292, allocations: 0.9109 MB / 0.686 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.5292, allocations: 29.7 kB / 0.686 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.5295, allocations: 483.1 kB / 0.6864 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5296, allocations: 107.2 kB / 0.6866 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003296/0.53, allocations: 298.4 kB / 0.6868 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5301, allocations: 358.8 kB / 0.6872 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.5305, allocations: 230.5 kB / 0.6874 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000864/0.5314, allocations: 0.8922 MB / 0.6883 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5328, allocations: 1.223 MB / 0.6895 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.5328, allocations: 4 kB / 0.6895 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001677/0.5344, allocations: 1.127 MB / 0.6906 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.5345, allocations: 19.94 kB / 0.6906 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.5345, allocations: 24.09 kB / 0.6906 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/0.5345, allocations: 39.94 kB / 0.6906 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.5353, allocations: 291.6 kB / 0.6909 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.664e-05/0.5353, allocations: 47.8 kB / 0.691 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/0.5359, allocations: 139 kB / 0.6911 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.536, allocations: 128 kB / 0.6912 GB, free: 8.953 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003806/0.5364, allocations: 341.1 kB / 0.6916 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5365, allocations: 99.34 kB / 0.6916 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.5382, allocations: 0.7745 MB / 0.6924 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5382, allocations: 4 kB / 0.6924 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5382, allocations: 0 / 0.6924 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5382, allocations: 3.984 kB / 0.6924 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005439/0.5387, allocations: 424.9 kB / 0.6928 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5387, allocations: 0 / 0.6928 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.539, allocations: 103.9 kB / 0.6929 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.539, allocations: 4 kB / 0.6929 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.5391, allocations: 39.92 kB / 0.693 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5391, allocations: 0 / 0.693 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5391, allocations: 7.938 kB / 0.693 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.5397, allocations: 486.9 kB / 0.6934 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.5402, allocations: 241.2 kB / 0.6937 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.5403, allocations: 15.92 kB / 0.6937 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.5406, allocations: 8 kB / 0.6937 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.5407, allocations: 43.95 kB / 0.6937 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.5408, allocations: 83.98 kB / 0.6938 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006439/0.5414, allocations: 0.5654 MB / 0.6944 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5414, allocations: 0 / 0.6944 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007873/0.5422, allocations: 175.8 kB / 0.6945 GB, free: 5.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003934/0.5426, allocations: 237.9 kB / 0.6947 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008844/0.5435, allocations: 0.5789 MB / 0.6953 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5435, allocations: 0 / 0.6953 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.5437, allocations: 139.9 kB / 0.6954 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.5443, allocations: 95.16 kB / 0.6955 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.5461, allocations: 1.291 MB / 0.6968 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.5465, allocations: 359.5 kB / 0.6971 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001328/0.5478, allocations: 0.5083 MB / 0.6976 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.5482, allocations: 143.3 kB / 0.6978 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.5482, allocations: 4 kB / 0.6978 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.01551/0.5637, allocations: 9.448 MB / 0.707 GB, free: 8.762 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & ./Chemical_master_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.993210034997901] Failed to read output from testmodel.py, exit status != 0: 0.5729996750014834 0.5994070410000001 0.08686902 Calling exit ...