Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Processes.Tests.TestMembrane.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.001373/0.001373, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001679/0.001679, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.809 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.1416/0.1416, allocations: 23.89 MB / 336.3 MB, free: 10.96 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.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") translateModel(Chemical.Processes.Tests.TestMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Processes.Tests.TestMembrane") [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.002391/0.002391, allocations: 63.91 kB / 471.6 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.364, allocations: 59.86 MB / 0.519 GB, free: 9.762 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1328:7-1328: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/Boundaries.mo:1328:7-1328: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Processes.Tests.TestMembrane): time 0.07574/0.4398, allocations: 28.49 MB / 0.5468 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.4537, allocations: 8.162 MB / 0.5548 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.4557, allocations: 27.88 kB / 0.5548 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003747/0.4594, allocations: 0.9705 MB / 0.5558 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.4625, allocations: 0.8135 MB / 0.5566 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.4663, allocations: 0.9517 MB / 0.5575 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004289/0.4706, allocations: 2.01 MB / 0.5595 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009476/0.4715, allocations: 423 kB / 0.5599 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.4732, allocations: 0.7984 MB / 0.5606 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.4749, allocations: 0.8201 MB / 0.5614 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006855/0.4756, allocations: 224 kB / 0.5617 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00429/0.4799, allocations: 1.156 MB / 0.5628 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001253/0.4812, allocations: 0.6509 MB / 0.5634 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002074/0.4832, allocations: 0.9132 MB / 0.5643 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009408/0.4926, allocations: 4.029 MB / 0.5682 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4926, allocations: 0 / 0.5682 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4927, allocations: 0 / 0.5682 GB, free: 7.371 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000183/0.4928, allocations: 4 kB / 0.5682 GB, free: 7.367 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: 618 * Number of variables: 618 Notification: Performance of Generate backend data structure: time 0.008138/0.501, allocations: 2.569 MB / 0.5708 GB, free: 4.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.501, allocations: 12.03 kB / 0.5708 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.5033, allocations: 0.5339 MB / 0.5713 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.506, allocations: 1.074 MB / 0.5723 GB, free: 3.102 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/0.5065, allocations: 375.2 kB / 0.5727 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004752/0.5069, allocations: 192.4 kB / 0.5729 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.5185, allocations: 8.339 MB / 0.581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.298e-05/0.5186, allocations: 0 / 0.581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/0.519, allocations: 79.98 kB / 0.5811 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004342/0.5194, allocations: 336.7 kB / 0.5814 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/0.5367, allocations: 14.42 MB / 0.5955 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03277/0.5695, allocations: 18.71 MB / 0.6138 GB, free: 8.492 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005808/0.5753, allocations: 3.438 MB / 0.6171 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004138/0.5794, allocations: 2.803 MB / 0.6199 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/0.5811, allocations: 0.5791 MB / 0.6204 GB, free: 1.664 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.5811, allocations: 47.56 kB / 0.6205 GB, free: 1.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=94): time 3.226e-06/0.5811, allocations: 4 kB / 0.6205 GB, free: 1.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=122): time 0.04186/0.623, allocations: 16.62 MB / 0.6367 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.009527/0.6325, allocations: 6.433 MB / 0.643 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.6341, allocations: 1.013 MB / 0.644 GB, free: 9.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004061/0.6345, allocations: 45.7 kB / 0.644 GB, free: 9.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/0.6353, allocations: 1 MB / 0.645 GB, free: 8.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007743/0.636, allocations: 444.2 kB / 0.6454 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.6373, allocations: 406.8 kB / 0.6458 GB, free: 7.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6375, allocations: 353.9 kB / 0.6462 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004847/0.6423, allocations: 3.43 MB / 0.6495 GB, free: 3.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/0.6474, allocations: 3.622 MB / 0.653 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02691/0.6743, allocations: 10.26 MB / 0.6631 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.6743, allocations: 7.875 kB / 0.6631 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01361/0.6879, allocations: 7.427 MB / 0.6703 GB, free: 14.07 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.6879, allocations: 12.03 kB / 0.6703 GB, free: 14.06 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.688, allocations: 7.984 kB / 0.6703 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.6894, allocations: 0.8007 MB / 0.6711 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00505/0.6945, allocations: 0.8116 MB / 0.6719 GB, free: 12.42 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01607/0.7105, allocations: 13.36 MB / 0.685 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.712, allocations: 72.14 kB / 0.685 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000746/0.7128, allocations: 300 kB / 0.6853 GB, free: 14.16 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: d1.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (135): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001847/0.7146, allocations: 0.5912 MB / 0.6859 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007705/0.7154, allocations: 119.2 kB / 0.686 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009812/0.7252, allocations: 3.631 MB / 0.6895 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.7252, allocations: 12 kB / 0.6896 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.7252, allocations: 11.98 kB / 0.6896 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.7252, allocations: 3.984 kB / 0.6896 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.7388, allocations: 6.18 MB / 0.6956 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.7388, allocations: 4 kB / 0.6956 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/0.7416, allocations: 324.2 kB / 0.6959 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/0.7435, allocations: 359.9 kB / 0.6963 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/0.7436, allocations: 39.97 kB / 0.6963 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01046/0.7541, allocations: 8.167 MB / 0.7043 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005593/0.7597, allocations: 3.648 MB / 0.7078 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007259/0.7669, allocations: 2.578 MB / 0.7104 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004862/0.7674, allocations: 151.2 kB / 0.7105 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/0.7679, allocations: 36.27 kB / 0.7105 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.7689, allocations: 55.95 kB / 0.7106 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/0.7693, allocations: 124.6 kB / 0.7107 GB, free: 2.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.742e-05/0.7694, allocations: 47.97 kB / 0.7108 GB, free: 2.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003346/0.7727, allocations: 2.313 MB / 0.713 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7727, allocations: 0 / 0.713 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002914/0.7756, allocations: 0.7263 MB / 0.7137 GB, free: 15.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 3 ($STATESET2.x,$STATESET1.x,d1.rear.n_flow) * Number of discrete variables: 2 ($cse26,$cse19) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009387/0.7766, allocations: 401.4 kB / 0.7141 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007467/0.784, allocations: 4.314 MB / 0.7183 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.784, allocations: 256 / 0.7183 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.7872, allocations: 1.355 MB / 0.7196 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.7897, allocations: 331.3 kB / 0.72 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/0.798, allocations: 4.232 MB / 0.7241 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.7999, allocations: 1.061 MB / 0.7251 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001599/0.8015, allocations: 409.7 kB / 0.7255 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009891/0.8025, allocations: 203.3 kB / 0.7257 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.8025, allocations: 0 / 0.7257 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of Templates: time 0.3034/1.106, allocations: 60.05 MB / 0.7843 GB, free: 148.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Processes.Tests.TestMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; mkfifo Chemical_Chemical.Processes.Tests.TestMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Processes.Tests.TestMembrane.pipe >> ../files/Chemical_Chemical.Processes.Tests.TestMembrane.sim & ./Chemical_Chemical.Processes.Tests.TestMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Processes.Tests.TestMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.236277827993035] Failed to read output from testmodel.py, exit status != 0: 1.1157175935804844 1.123827429 0.62887231 Calling exit ...