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.00145/0.00145, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001639/0.001639, allocations: 217.4 kB / 22.24 MB, free: 4.855 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.45/1.45, allocations: 230.6 MB / 256 MB, free: 8.008 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.1427/0.1427, allocations: 23.88 MB / 336.3 MB, free: 11.09 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",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.002139/0.002139, allocations: 68.12 kB / 471.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 59.86 MB / 0.5186 GB, free: 9.754 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.09403/0.4435, allocations: 47.09 MB / 0.5646 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1421/0.5856, allocations: 106.1 MB / 0.6682 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006106/0.5917, allocations: 103.2 kB / 0.6682 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007888/0.5996, allocations: 2.148 MB / 0.6703 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03354/0.6331, allocations: 10.18 MB / 0.6803 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04647/0.6796, allocations: 15.77 MB / 0.6957 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01623/0.6958, allocations: 10.54 MB / 0.706 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008256/0.7041, allocations: 4.604 MB / 0.7105 GB, free: 4.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/0.7141, allocations: 5.441 MB / 0.7158 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.7248, allocations: 5.357 MB / 0.721 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004145/0.7289, allocations: 0.8828 MB / 0.7219 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3113/1.04, allocations: 13.04 MB / 0.7346 GB, free: 37.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003625/1.044, allocations: 2.136 MB / 0.7367 GB, free: 37.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01129/1.055, allocations: 3.88 MB / 0.7405 GB, free: 37.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0503/1.105, allocations: 24.86 MB / 0.7648 GB, free: 35.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.105, allocations: 0 / 0.7648 GB, free: 35.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.294e-06/1.105, allocations: 0 / 0.7648 GB, free: 35.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005161/1.106, allocations: 0 / 0.7648 GB, free: 35.75 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.02746/1.133, allocations: 10.62 MB / 0.7752 GB, free: 31.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.134, allocations: 9.562 kB / 0.7752 GB, free: 31.3 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002496/1.136, allocations: 0.9069 MB / 0.7761 GB, free: 31.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/1.147, allocations: 1.946 MB / 0.778 GB, free: 30.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008218/1.155, allocations: 3.521 MB / 0.7814 GB, free: 29.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/1.155, allocations: 0.5785 MB / 0.782 GB, free: 29.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00258/1.158, allocations: 0.7377 MB / 0.7827 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/1.18, allocations: 9.215 MB / 0.7917 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002897/1.181, allocations: 7.688 kB / 0.7917 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002665/1.183, allocations: 285.5 kB / 0.792 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/1.184, allocations: 177.3 kB / 0.7921 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/1.21, allocations: 12.58 MB / 0.8044 GB, free: 28.34 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.05541/1.265, allocations: 24.87 MB / 0.8287 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0315/1.297, allocations: 17.1 MB / 0.8454 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00927/1.306, allocations: 4.099 MB / 0.8494 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0603/1.366, allocations: 19.55 MB / 0.8685 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.773e-05/1.366, allocations: 91.12 kB / 0.8686 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002695/1.369, allocations: 0.6519 MB / 0.8692 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.424e-05/1.369, allocations: 2.656 kB / 0.8692 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1311/1.5, allocations: 35.26 MB / 0.9037 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.5, allocations: 132.9 kB / 0.9038 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/1.506, allocations: 3.546 MB / 0.9072 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001479/1.507, allocations: 149.7 kB / 0.9074 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002935/1.51, allocations: 3.247 MB / 0.9106 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003754/1.514, allocations: 2.711 MB / 0.9132 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003033/1.517, allocations: 1.706 MB / 0.9149 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.517, allocations: 305.1 kB / 0.9152 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005458/1.522, allocations: 2.865 MB / 0.918 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008077/1.531, allocations: 5.75 MB / 0.9236 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/1.546, allocations: 9.507 MB / 0.9329 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-05/1.546, allocations: 24 kB / 0.9329 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02855/1.575, allocations: 10.72 MB / 0.9433 GB, free: 7.629 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/1.575, allocations: 44 kB / 0.9434 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/1.575, allocations: 92 kB / 0.9435 GB, free: 7.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009077/1.584, allocations: 1.824 MB / 0.9453 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/1.595, allocations: 2.312 MB / 0.9475 GB, free: 3.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/1.615, allocations: 12.21 MB / 0.9594 GB, free: 6.824 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006771/1.622, allocations: 292 kB / 0.9597 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/1.623, allocations: 0.5155 MB / 0.9602 GB, free: 6.023 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.003874/1.627, allocations: 1.207 MB / 0.9614 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001873/1.629, allocations: 0.6016 MB / 0.962 GB, free: 4.348 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02551/1.655, allocations: 10.11 MB / 0.9719 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/1.655, allocations: 80 kB / 0.9719 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/1.655, allocations: 4 kB / 0.9719 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002348/1.655, allocations: 39.84 kB / 0.972 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2813/1.936, allocations: 15.28 MB / 0.9869 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.423e-05/1.936, allocations: 6.812 kB / 0.9869 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009021/1.945, allocations: 1.525 MB / 0.9884 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008351/1.954, allocations: 1.599 MB / 0.99 GB, free: 288.2 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001642/1.955, allocations: 264.4 kB / 0.9902 GB, free: 288.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/1.97, allocations: 11.47 MB / 1.001 GB, free: 280 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.97, allocations: 7.656 kB / 1.001 GB, free: 280 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03013/2, allocations: 12.97 MB / 1.014 GB, free: 274.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005007/2.005, allocations: 1.272 MB / 1.015 GB, free: 274.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002181/2.007, allocations: 145.1 kB / 1.015 GB, free: 274.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004373/2.011, allocations: 155.8 kB / 1.016 GB, free: 274.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/2.013, allocations: 0.6061 MB / 1.016 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008126/2.014, allocations: 316.8 kB / 1.017 GB, free: 274 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002656/2.016, allocations: 2.04 MB / 1.019 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/2.016, allocations: 0 / 1.019 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01411/2.03, allocations: 5.105 MB / 1.023 GB, free: 272.8 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.03846/2.069, allocations: 19.16 MB / 1.042 GB, free: 263.4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01475/2.084, allocations: 8.415 MB / 1.05 GB, free: 255.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/2.084, allocations: 4 kB / 1.05 GB, free: 255.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007501/2.091, allocations: 4.486 MB / 1.055 GB, free: 251.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/2.097, allocations: 1.188 MB / 1.056 GB, free: 250.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09251/2.19, allocations: 60.13 MB / 1.115 GB, free: 188.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/2.192, allocations: 2.708 MB / 1.117 GB, free: 186.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006425/2.198, allocations: 1.687 MB / 1.119 GB, free: 185 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004222/2.202, allocations: 3.721 MB / 1.123 GB, free: 181.3 MB / 0.7012 GB Notification: Performance of SimCode: time 1.123e-06/2.202, allocations: 0 / 1.123 GB, free: 181.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5286/2.731, allocations: 224.3 MB / 1.342 GB, free: 268.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.39/31.13, allocations: 5.062 kB / 1.342 GB, free: 268.2 MB / 0.7012 GB " [Timeout remaining time 629] (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: 34.07473296672106] Failed to read output from testmodel.py, exit status != 0: 31.37752885511145 31.387767379 30.279631529 Calling exit ...