Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.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.00127/0.00127, allocations: 107.8 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.001472/0.001472, allocations: 212.2 kB / 23 MB, free: 4.973 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1477/0.1477, allocations: 23.93 MB / 337.1 MB, free: 10.95 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.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [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.002989/0.002989, allocations: 67.89 kB / 472.5 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3753, allocations: 59.88 MB / 0.5199 GB, free: 9.777 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.AcidBase.Dev.RedCellMembrane): time 0.1233/0.4986, allocations: 46.9 MB / 0.5657 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1438/0.6424, allocations: 106.1 MB / 0.6693 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005745/0.6481, allocations: 99.19 kB / 0.6694 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007629/0.6558, allocations: 2.159 MB / 0.6715 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03099/0.6868, allocations: 10.18 MB / 0.6814 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04236/0.7291, allocations: 15.77 MB / 0.6968 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0168/0.7459, allocations: 10.53 MB / 0.7071 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007408/0.7533, allocations: 4.698 MB / 0.7117 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009161/0.7625, allocations: 5.445 MB / 0.717 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.7729, allocations: 5.962 MB / 0.7229 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003067/0.776, allocations: 0.8867 MB / 0.7237 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2909/1.067, allocations: 13.37 MB / 0.7368 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003581/1.07, allocations: 2.138 MB / 0.7389 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01015/1.081, allocations: 3.878 MB / 0.7427 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05255/1.133, allocations: 24.86 MB / 0.7669 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.133, allocations: 3.719 kB / 0.7669 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/1.133, allocations: 2.156 kB / 0.7669 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003612/1.134, allocations: 0 / 0.7669 GB, free: 35.74 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1818 * Number of variables: 1818 Notification: Performance of Generate backend data structure: time 0.02626/1.16, allocations: 10.63 MB / 0.7773 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.16, allocations: 9.625 kB / 0.7773 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/1.171, allocations: 1.942 MB / 0.7792 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008492/1.179, allocations: 3.521 MB / 0.7827 GB, free: 30.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005164/1.18, allocations: 0.5786 MB / 0.7832 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003052/1.183, allocations: 0.7385 MB / 0.7839 GB, free: 29.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02524/1.208, allocations: 9.22 MB / 0.793 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003873/1.209, allocations: 9.594 kB / 0.793 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002464/1.211, allocations: 286.8 kB / 0.7932 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/1.211, allocations: 173.5 kB / 0.7934 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02375/1.235, allocations: 12.57 MB / 0.8057 GB, free: 29.09 MB / 0.5606 GB 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.05661/1.292, allocations: 24.08 MB / 0.8292 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03262/1.324, allocations: 17.11 MB / 0.8459 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00926/1.333, allocations: 4.095 MB / 0.8499 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05464/1.388, allocations: 19.53 MB / 0.869 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.239e-05/1.388, allocations: 91.12 kB / 0.8691 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002806/1.391, allocations: 0.6161 MB / 0.8697 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.093e-05/1.391, allocations: 0 / 0.8697 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1246/1.516, allocations: 35.26 MB / 0.9041 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.516, allocations: 129.3 kB / 0.9042 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/1.52, allocations: 3.278 MB / 0.9074 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.522, allocations: 156.4 kB / 0.9076 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003158/1.525, allocations: 3.243 MB / 0.9107 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003757/1.529, allocations: 2.712 MB / 0.9134 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002955/1.531, allocations: 1.702 MB / 0.915 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.532, allocations: 301.1 kB / 0.9153 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005713/1.537, allocations: 2.869 MB / 0.9181 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008804/1.546, allocations: 5.751 MB / 0.9238 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/1.563, allocations: 9.506 MB / 0.933 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.611e-05/1.564, allocations: 27.94 kB / 0.9331 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02926/1.593, allocations: 10.7 MB / 0.9435 GB, free: 8.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.249e-05/1.593, allocations: 47 kB / 0.9436 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/1.593, allocations: 92.88 kB / 0.9436 GB, free: 8.438 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/1.604, allocations: 1.813 MB / 0.9454 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01176/1.616, allocations: 2.313 MB / 0.9477 GB, free: 4.461 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02141/1.637, allocations: 12.08 MB / 0.9595 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00677/1.644, allocations: 298.4 kB / 0.9598 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.645, allocations: 0.5155 MB / 0.9603 GB, free: 7.141 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * 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 (1143): * Single equations (assignments): 1137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,27), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.003188/1.648, allocations: 1.209 MB / 0.9614 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/1.65, allocations: 0.5744 MB / 0.962 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02545/1.675, allocations: 10.1 MB / 0.9719 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001949/1.676, allocations: 39.84 kB / 0.9719 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.676, allocations: 0 / 0.9719 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004359/1.68, allocations: 1.241 MB / 0.9731 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.682, allocations: 144 kB / 0.9733 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/1.686, allocations: 163.9 kB / 0.9734 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/1.687, allocations: 0.599 MB / 0.974 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0267/1.713, allocations: 8.33 MB / 0.9821 GB, free: 1.043 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2677/1.981, allocations: 11.23 MB / 0.9931 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004944/1.986, allocations: 2.963 MB / 0.996 GB, free: 285.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002703/1.989, allocations: 1.87 MB / 0.9978 GB, free: 285.2 MB / 0.7012 GB Notification: Performance of Backend: time 4.61e-07/1.989, allocations: 0 / 0.9978 GB, free: 285.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.03095/2.02, allocations: 13.08 MB / 1.011 GB, free: 282.4 MB / 0.7012 GB Notification: Performance of SimCode: time 0.0163/2.036, allocations: 12.22 MB / 1.023 GB, free: 276.5 MB / 0.7012 GB Notification: Performance of Templates: time 0.2266/2.263, allocations: 208.9 MB / 1.226 GB, free: 82.23 MB / 0.7012 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 14.056902044991148] Failed to read output from testmodel.py, exit status != 0: 2.2737431550049223 2.280976637 1.145307535 Calling exit ...