Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001552/0.001552, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001407/0.001407, allocations: 219 kB / 23.03 MB, free: 4.922 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.805 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.1355/0.1355, allocations: 23.88 MB / 337.1 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="cs",version="2.0",platforms={"static"}) [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.003192/0.003192, allocations: 71.89 kB / 471.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3439, allocations: 59.85 MB / 0.5193 GB, free: 9.547 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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/Obsolete.mo:14337:7-14337: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.09175/0.4357, allocations: 46.69 MB / 0.5649 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1414/0.5771, allocations: 106 MB / 0.6685 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005894/0.583, allocations: 95.25 kB / 0.6686 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007335/0.5903, allocations: 2.148 MB / 0.6706 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03456/0.6249, allocations: 10.18 MB / 0.6806 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04098/0.6658, allocations: 15.78 MB / 0.696 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01612/0.682, allocations: 10.53 MB / 0.7063 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007985/0.6899, allocations: 4.683 MB / 0.7109 GB, free: 5.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008549/0.6985, allocations: 5.441 MB / 0.7162 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.7092, allocations: 5.974 MB / 0.722 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003077/0.7123, allocations: 0.8828 MB / 0.7229 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2866/0.9989, allocations: 13.38 MB / 0.7359 GB, free: 37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00322/1.002, allocations: 2.135 MB / 0.738 GB, free: 37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008396/1.011, allocations: 3.88 MB / 0.7418 GB, free: 37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05329/1.064, allocations: 24.86 MB / 0.7661 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.064, allocations: 0 / 0.7661 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/1.064, allocations: 0 / 0.7661 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003337/1.064, allocations: 0 / 0.7661 GB, free: 35.45 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.02318/1.087, allocations: 10.62 MB / 0.7765 GB, free: 31 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/1.087, allocations: 10.25 kB / 0.7765 GB, free: 31 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001406/1.088, allocations: 185.6 kB / 0.7766 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/1.089, allocations: 0.9075 MB / 0.7775 GB, free: 30.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00967/1.099, allocations: 1.949 MB / 0.7794 GB, free: 30.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00717/1.106, allocations: 3.516 MB / 0.7829 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/1.106, allocations: 0.579 MB / 0.7834 GB, free: 29.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002326/1.108, allocations: 0.7395 MB / 0.7841 GB, free: 29.53 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/1.129, allocations: 9.221 MB / 0.7932 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001624/1.129, allocations: 6.625 kB / 0.7932 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/1.13, allocations: 288.4 kB / 0.7934 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.732e-05/1.131, allocations: 176.1 kB / 0.7936 GB, free: 28.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/1.152, allocations: 12.72 MB / 0.806 GB, free: 28.42 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.0515/1.203, allocations: 24.88 MB / 0.8303 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03085/1.234, allocations: 17.1 MB / 0.847 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008323/1.243, allocations: 4.101 MB / 0.851 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06013/1.303, allocations: 19.55 MB / 0.8701 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.851e-05/1.303, allocations: 98.59 kB / 0.8702 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003155/1.306, allocations: 0.6534 MB / 0.8708 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.444e-05/1.306, allocations: 0 / 0.8708 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.131/1.437, allocations: 35.25 MB / 0.9053 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.437, allocations: 139.5 kB / 0.9054 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/1.443, allocations: 3.38 MB / 0.9087 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001326/1.444, allocations: 153.7 kB / 0.9089 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002698/1.447, allocations: 3.25 MB / 0.912 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003359/1.45, allocations: 2.711 MB / 0.9147 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003943/1.454, allocations: 1.702 MB / 0.9163 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.454, allocations: 305.1 kB / 0.9166 GB, free: 5.094 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006181/1.461, allocations: 2.867 MB / 0.9194 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009031/1.47, allocations: 5.75 MB / 0.925 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01667/1.486, allocations: 9.507 MB / 0.9343 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.162e-05/1.486, allocations: 24 kB / 0.9343 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02766/1.514, allocations: 10.72 MB / 0.9448 GB, free: 6.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/1.514, allocations: 44 kB / 0.9449 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/1.514, allocations: 88 kB / 0.9449 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/1.524, allocations: 1.819 MB / 0.9467 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/1.535, allocations: 2.323 MB / 0.949 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/1.556, allocations: 12.21 MB / 0.9609 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006477/1.562, allocations: 292 kB / 0.9612 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.564, allocations: 0.5181 MB / 0.9617 GB, free: 5.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.003864/1.568, allocations: 1.207 MB / 0.9629 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/1.57, allocations: 0.5977 MB / 0.9635 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02579/1.595, allocations: 10.12 MB / 0.9733 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/1.596, allocations: 83.94 kB / 0.9734 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/1.596, allocations: 8 kB / 0.9734 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.78e-05/1.596, allocations: 39.84 kB / 0.9735 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2519/1.848, allocations: 15.28 MB / 0.9884 GB, free: 289.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-05/1.848, allocations: 4.281 kB / 0.9884 GB, free: 289.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008968/1.857, allocations: 1.525 MB / 0.9899 GB, free: 289.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008631/1.865, allocations: 1.596 MB / 0.9914 GB, free: 289.4 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001738/1.867, allocations: 265.2 kB / 0.9917 GB, free: 289.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/1.882, allocations: 11.47 MB / 1.003 GB, free: 280.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/1.882, allocations: 8.469 kB / 1.003 GB, free: 280.4 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03089/1.913, allocations: 12.97 MB / 1.016 GB, free: 275.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003996/1.917, allocations: 1.271 MB / 1.017 GB, free: 274.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/1.918, allocations: 149.6 kB / 1.017 GB, free: 274.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003936/1.922, allocations: 150.8 kB / 1.017 GB, free: 274.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001624/1.924, allocations: 0.6069 MB / 1.018 GB, free: 274.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007137/1.924, allocations: 313.2 kB / 1.018 GB, free: 274.4 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002654/1.927, allocations: 2.038 MB / 1.02 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/1.927, allocations: 2.625 kB / 1.02 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01487/1.942, allocations: 5.108 MB / 1.025 GB, free: 273.1 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,HCO3.logn,H2O.logn,HCO3_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,albumin.logn,permeableUncharged.logn,permeableUncharged_E.logn,chargedImpermeable_E.logn,Lac_E.logn,Lac.logn,H_E.logn,H.logn,CO2.logn,CO2_E.logn,O2.logn,O2_E.logn,K.logn,Na.logn,Na_E.logn,K_E.logn,H2PO4_E.logn,ADP_E.logn,ATP_E.logn,HPO4_E.logn,globulins.logn,Ca.logn,Mg.logn,DPG.logn,GSH.logn) * 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 (761): * Single equations (assignments): 755 * 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 {(4,33), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03714/1.979, allocations: 19.15 MB / 1.044 GB, free: 262.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01437/1.993, allocations: 8.417 MB / 1.052 GB, free: 255.1 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.993, allocations: 6.656 kB / 1.052 GB, free: 255.1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007059/2, allocations: 4.48 MB / 1.056 GB, free: 250.9 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005448/2.006, allocations: 1.192 MB / 1.057 GB, free: 250 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09153/2.097, allocations: 60.12 MB / 1.116 GB, free: 188 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002074/2.1, allocations: 2.712 MB / 1.119 GB, free: 185.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006371/2.106, allocations: 1.686 MB / 1.12 GB, free: 184.2 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004699/2.111, allocations: 3.718 MB / 1.124 GB, free: 180.4 MB / 0.7012 GB Notification: Performance of SimCode: time 1.383e-06/2.111, allocations: 0 / 1.124 GB, free: 180.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5615/2.672, allocations: 224.2 MB / 1.343 GB, free: 268.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.87/49.55, allocations: 13.12 kB / 1.343 GB, free: 268.1 MB / 0.7012 GB " [Timeout remaining time 610] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 52.54740438004956] Failed to read output from testmodel.py, exit status != 0: 49.857938149012625 49.878201123 48.810069978 Calling exit ...