Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery") translateModel(Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 114.2 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 183.8 kB / 17.35 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07516/0.07516, allocations: 15.3 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 68.11 kB / 425.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.0826, allocations: 53.61 MB / 479.5 MB, free: 5.762 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.Hemoglobin.HemoglobinMultipleAllostery): time 0.3761/0.4587, allocations: 41.61 MB / 0.5089 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06952/0.5283, allocations: 72.71 MB / 0.5799 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.5315, allocations: 59.34 kB / 0.58 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004311/0.5359, allocations: 1.617 MB / 0.5815 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.5515, allocations: 5.927 MB / 0.5873 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0244/0.5759, allocations: 10.21 MB / 0.5973 GB, free: 7.363 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02364/0.5996, allocations: 26.7 MB / 0.6234 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02366/0.6233, allocations: 21.96 MB / 0.6448 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0229/0.6462, allocations: 17.48 MB / 0.6619 GB, free: 8.145 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02599/0.6722, allocations: 16.19 MB / 0.6777 GB, free: 7.906 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.009416/0.6817, allocations: 3.09 MB / 0.6807 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03284/0.7146, allocations: 10.7 MB / 0.6912 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01106/0.7257, allocations: 6.981 MB / 0.698 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02223/0.7479, allocations: 12.16 MB / 0.7099 GB, free: 6.906 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2829/1.031, allocations: 42.21 MB / 0.7511 GB, free: 60.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.031, allocations: 0 / 0.7511 GB, free: 60.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/1.031, allocations: 0 / 0.7511 GB, free: 60.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0008789/1.032, allocations: 0 / 0.7511 GB, free: 60.39 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3808 * Number of variables: 3808 Notification: Performance of Generate backend data structure: time 0.08296/1.115, allocations: 24.74 MB / 0.7752 GB, free: 53.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.115, allocations: 7.875 kB / 0.7752 GB, free: 53.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/1.14, allocations: 3.894 MB / 0.779 GB, free: 51.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02586/1.166, allocations: 12 MB / 0.7908 GB, free: 48.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001706/1.168, allocations: 2.133 MB / 0.7928 GB, free: 47.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01024/1.178, allocations: 1.529 MB / 0.7943 GB, free: 47.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07735/1.255, allocations: 34.8 MB / 0.8283 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005384/1.256, allocations: 10.25 kB / 0.8283 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008713/1.265, allocations: 0.5925 MB / 0.8289 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/1.265, allocations: 363.5 kB / 0.8293 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09035/1.355, allocations: 46.83 MB / 0.875 GB, free: 15.92 MB / 0.5919 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.5155/1.871, allocations: 127.9 MB / 0.9999 GB, free: 216 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7925/2.663, allocations: 276 MB / 1.269 GB, free: 222.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03193/2.695, allocations: 19.81 MB / 1.289 GB, free: 219.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1337/2.829, allocations: 87.46 MB / 1.374 GB, free: 158.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.508e-05/2.829, allocations: 141 kB / 1.374 GB, free: 158.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01859/2.848, allocations: 4.52 MB / 1.379 GB, free: 154.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=995): time 3.877e-05/2.848, allocations: 2.953 kB / 1.379 GB, free: 154.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1129): time 0.6503/3.498, allocations: 130.7 MB / 1.506 GB, free: 24.45 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/3.498, allocations: 172.2 kB / 1.507 GB, free: 24.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/3.511, allocations: 10.16 MB / 1.516 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0037/3.515, allocations: 209.7 kB / 1.517 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00338/3.518, allocations: 6.882 MB / 1.523 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.005894/3.524, allocations: 3.906 MB / 1.527 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2326/3.757, allocations: 3.253 MB / 1.53 GB, free: 240.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/3.757, allocations: 306.1 kB / 1.531 GB, free: 240.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02209/3.779, allocations: 11.83 MB / 1.542 GB, free: 239.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02106/3.8, allocations: 16.55 MB / 1.558 GB, free: 229.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04004/3.84, allocations: 29.74 MB / 1.587 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001476/3.84, allocations: 42.81 kB / 1.587 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1889) (initialization): time 0.4532/4.293, allocations: 81.46 MB / 1.667 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/4.293, allocations: 68 kB / 1.667 GB, free: 148.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/4.294, allocations: 148.1 kB / 1.667 GB, free: 148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05739/4.351, allocations: 22.4 MB / 1.689 GB, free: 125.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01615/4.367, allocations: 3.722 MB / 1.693 GB, free: 122 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3998/4.767, allocations: 93.95 MB / 1.785 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/4.784, allocations: 0.84 MB / 1.785 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003899/4.788, allocations: 0.9302 MB / 1.786 GB, free: 211.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 677 * 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 (1841): * Single equations (assignments): 1838 * 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): 2 systems {(1,3,100.0%), (33,10,82.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.01195/4.8, allocations: 5.373 MB / 1.791 GB, free: 210.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004113/4.804, allocations: 1.061 MB / 1.793 GB, free: 210.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2736/5.078, allocations: 48.6 MB / 1.84 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004272/5.078, allocations: 63.27 kB / 1.84 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/5.078, allocations: 0 / 1.84 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009663/5.088, allocations: 3.297 MB / 1.843 GB, free: 197.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00527/5.093, allocations: 288.5 kB / 1.844 GB, free: 197.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01409/5.108, allocations: 0.5483 MB / 1.844 GB, free: 197.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01399/5.122, allocations: 3.615 MB / 1.848 GB, free: 197 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06215/5.184, allocations: 25.8 MB / 1.873 GB, free: 181.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05463/5.238, allocations: 38.1 MB / 1.91 GB, free: 143.9 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01658/5.255, allocations: 11.54 MB / 1.921 GB, free: 132.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.01136/5.266, allocations: 6.97 MB / 1.928 GB, free: 125.4 MB / 0.6544 GB Notification: Performance of Backend: time 6.52e-07/5.266, allocations: 0.6875 kB / 1.928 GB, free: 125.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.07022/5.337, allocations: 22.43 MB / 1.95 GB, free: 104.4 MB / 0.6544 GB Notification: Performance of SimCode: time 0.05218/5.389, allocations: 29.62 MB / 1.979 GB, free: 75.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.8398/6.229, allocations: 332.4 MB / 2.304 GB, free: 228.9 MB / 0.6544 GB make -j1 -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.makefile (rm -f Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.sim & ./Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.HemoglobinMultipleAllostery.pipe 2>&1)