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.001777/0.001777, 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.002261/0.002261, allocations: 210.5 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.789 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.1495/0.1495, allocations: 23.99 MB / 336.4 MB, free: 10.93 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_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.002183/0.002183, allocations: 71.89 kB / 471.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.325, allocations: 59.89 MB / 0.5188 GB, free: 9.445 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.1004/0.4254, allocations: 47.08 MB / 0.5647 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.145/0.5703, allocations: 106.1 MB / 0.6684 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006984/0.5773, allocations: 95.25 kB / 0.6684 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008089/0.5854, allocations: 2.167 MB / 0.6706 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03567/0.6211, allocations: 10.17 MB / 0.6805 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0448/0.6659, allocations: 15.78 MB / 0.6959 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01737/0.6832, allocations: 10.53 MB / 0.7062 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007926/0.6912, allocations: 4.605 MB / 0.7107 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.7015, allocations: 5.445 MB / 0.716 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.7131, allocations: 5.36 MB / 0.7212 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004751/0.7179, allocations: 0.8867 MB / 0.7221 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3511/1.069, allocations: 13.02 MB / 0.7348 GB, free: 37.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003878/1.073, allocations: 2.14 MB / 0.7369 GB, free: 37.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01121/1.084, allocations: 3.875 MB / 0.7407 GB, free: 37.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05863/1.143, allocations: 24.86 MB / 0.765 GB, free: 35.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.143, allocations: 9.656 kB / 0.765 GB, free: 35.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/1.143, allocations: 0 / 0.765 GB, free: 35.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.00044/1.143, allocations: 2.625 kB / 0.765 GB, free: 35.57 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.02777/1.171, allocations: 10.62 MB / 0.7754 GB, free: 31.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.171, allocations: 10.88 kB / 0.7754 GB, free: 31.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002682/1.174, allocations: 0.9032 MB / 0.7763 GB, free: 31.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/1.184, allocations: 1.949 MB / 0.7782 GB, free: 30.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007699/1.192, allocations: 3.521 MB / 0.7816 GB, free: 29.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/1.192, allocations: 0.5743 MB / 0.7822 GB, free: 29.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/1.195, allocations: 0.7388 MB / 0.7829 GB, free: 29.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/1.213, allocations: 9.228 MB / 0.7919 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/1.213, allocations: 2.656 kB / 0.7919 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001192/1.214, allocations: 291.3 kB / 0.7922 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.154e-05/1.214, allocations: 171.3 kB / 0.7923 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02472/1.239, allocations: 12.58 MB / 0.8046 GB, free: 28.06 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.05467/1.294, allocations: 24.86 MB / 0.8289 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03212/1.326, allocations: 17.1 MB / 0.8456 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009871/1.336, allocations: 4.098 MB / 0.8496 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06447/1.4, allocations: 19.55 MB / 0.8687 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.4, allocations: 94.59 kB / 0.8688 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003822/1.404, allocations: 0.6573 MB / 0.8694 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 2.155e-05/1.404, allocations: 0 / 0.8694 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1382/1.542, allocations: 35.27 MB / 0.9039 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.543, allocations: 132.8 kB / 0.904 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006237/1.549, allocations: 3.531 MB / 0.9074 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001344/1.55, allocations: 153.7 kB / 0.9076 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00294/1.553, allocations: 3.249 MB / 0.9108 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003765/1.557, allocations: 2.716 MB / 0.9134 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004824/1.562, allocations: 1.702 MB / 0.9151 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.562, allocations: 307.7 kB / 0.9154 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006397/1.568, allocations: 2.865 MB / 0.9182 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009386/1.578, allocations: 5.742 MB / 0.9238 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01848/1.596, allocations: 9.505 MB / 0.9331 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.891e-05/1.596, allocations: 33.38 kB / 0.9331 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02987/1.626, allocations: 10.72 MB / 0.9435 GB, free: 6.945 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/1.626, allocations: 44 kB / 0.9436 GB, free: 6.902 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.626, allocations: 92 kB / 0.9437 GB, free: 6.812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009651/1.636, allocations: 1.811 MB / 0.9454 GB, free: 5.016 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/1.647, allocations: 2.318 MB / 0.9477 GB, free: 2.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/1.668, allocations: 12.21 MB / 0.9596 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008189/1.677, allocations: 292 kB / 0.9599 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/1.679, allocations: 0.5194 MB / 0.9604 GB, free: 5.332 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.004496/1.683, allocations: 1.204 MB / 0.9616 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001939/1.685, allocations: 0.6015 MB / 0.9622 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02586/1.711, allocations: 10.11 MB / 0.9721 GB, free: 9.617 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/1.711, allocations: 76 kB / 0.9721 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/1.711, allocations: 10.81 kB / 0.9721 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002199/1.712, allocations: 39.84 kB / 0.9722 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2868/1.998, allocations: 15.29 MB / 0.9871 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.999, allocations: 4.375 kB / 0.9871 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007713/2.006, allocations: 1.528 MB / 0.9886 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008239/2.014, allocations: 1.599 MB / 0.9902 GB, free: 287.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001253/2.016, allocations: 264.7 kB / 0.9904 GB, free: 287.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/2.03, allocations: 11.46 MB / 1.002 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/2.03, allocations: 10.72 kB / 1.002 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02575/2.056, allocations: 12.97 MB / 1.014 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003296/2.059, allocations: 1.267 MB / 1.016 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009664/2.06, allocations: 145.4 kB / 1.016 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/2.063, allocations: 157.3 kB / 1.016 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/2.064, allocations: 0.6087 MB / 1.016 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005728/2.065, allocations: 316.2 kB / 1.017 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002349/2.067, allocations: 2.036 MB / 1.019 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/2.067, allocations: 0 / 1.019 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01286/2.08, allocations: 5.106 MB / 1.024 GB, free: 272.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.03333/2.113, allocations: 19.16 MB / 1.042 GB, free: 262.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01416/2.128, allocations: 8.412 MB / 1.051 GB, free: 254.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/2.128, allocations: 4 kB / 1.051 GB, free: 254.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007003/2.135, allocations: 4.483 MB / 1.055 GB, free: 250.4 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005495/2.14, allocations: 1.194 MB / 1.056 GB, free: 249.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08576/2.226, allocations: 60.12 MB / 1.115 GB, free: 187.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/2.229, allocations: 2.712 MB / 1.118 GB, free: 185.1 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.007201/2.236, allocations: 1.676 MB / 1.119 GB, free: 184 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004677/2.24, allocations: 3.725 MB / 1.123 GB, free: 180.2 MB / 0.7012 GB Notification: Performance of SimCode: time 9.22e-07/2.24, allocations: 0 / 1.123 GB, free: 180.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5296/2.77, allocations: 224.3 MB / 1.342 GB, free: 268.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.43/31.2, allocations: 3.781 kB / 1.342 GB, free: 268.4 MB / 0.7012 GB " [Timeout remaining time 629] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.329265592154115] Failed to read output from testmodel.py, exit status != 0: 31.45602175500244 31.466549144 30.321112737 Calling exit ...