Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.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.001369/0.001369, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001486/0.001486, allocations: 212 kB / 20.13 MB, free: 2.949 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.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1439/0.1439, allocations: 23.89 MB / 333.4 MB, free: 1.258 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood",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.001964/0.001964, allocations: 59.94 kB / 466.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09171, allocations: 59.84 MB / 0.5142 GB, free: 12.91 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.CarbonDioxideInBlood): time 0.04954/0.1412, allocations: 34.91 MB / 0.5483 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3698/0.5111, allocations: 47.61 MB / 0.5948 GB, free: 17.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.5134, allocations: 51.25 kB / 0.5949 GB, free: 17.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00301/0.5164, allocations: 1.019 MB / 0.5959 GB, free: 17.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.5273, allocations: 3.737 MB / 0.5995 GB, free: 17.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01719/0.5445, allocations: 6.427 MB / 0.6058 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007525/0.552, allocations: 4.542 MB / 0.6102 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/0.5559, allocations: 2.275 MB / 0.6125 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/0.5602, allocations: 2.287 MB / 0.6147 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004873/0.5651, allocations: 2.613 MB / 0.6172 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.5666, allocations: 421.8 kB / 0.6176 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/0.5836, allocations: 5.362 MB / 0.6229 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.5856, allocations: 0.9826 MB / 0.6238 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.5889, allocations: 2.029 MB / 0.6258 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02637/0.6152, allocations: 10.23 MB / 0.6358 GB, free: 4.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6152, allocations: 2.688 kB / 0.6358 GB, free: 4.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6152, allocations: 3.938 kB / 0.6358 GB, free: 4.992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001741/0.6154, allocations: 0 / 0.6358 GB, free: 4.992 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01116/0.6266, allocations: 4.843 MB / 0.6405 GB, free: 304 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6266, allocations: 14.94 kB / 0.6406 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.133e-05/0.6267, allocations: 82.48 kB / 0.6406 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008223/0.6275, allocations: 426.7 kB / 0.641 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004578/0.6321, allocations: 0.8558 MB / 0.6419 GB, free: 14.92 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/0.6358, allocations: 1.679 MB / 0.6435 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.6361, allocations: 300.9 kB / 0.6438 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008584/0.637, allocations: 332.3 kB / 0.6441 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009391/0.6464, allocations: 4.515 MB / 0.6485 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.029e-05/0.6464, allocations: 3.938 kB / 0.6485 GB, free: 8.008 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003902/0.6468, allocations: 128 kB / 0.6487 GB, free: 7.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/0.6469, allocations: 78.66 kB / 0.6487 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01166/0.6585, allocations: 6.161 MB / 0.6548 GB, free: 1.637 MB / 462.1 MB 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.03237/0.6909, allocations: 14.13 MB / 0.6686 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.702, allocations: 6.148 MB / 0.6746 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/0.7064, allocations: 2.046 MB / 0.6766 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02687/0.7333, allocations: 14.92 MB / 0.6911 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.7333, allocations: 56.8 kB / 0.6912 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00241/0.7358, allocations: 467.1 kB / 0.6916 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=284): time 1.359e-05/0.7358, allocations: 0 / 0.6916 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=387): time 0.0984/0.8342, allocations: 23.88 MB / 0.7149 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.8343, allocations: 93.11 kB / 0.715 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.837, allocations: 1.704 MB / 0.7167 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008279/0.8378, allocations: 89.7 kB / 0.7168 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.839, allocations: 1.345 MB / 0.7181 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00202/0.8411, allocations: 1.374 MB / 0.7194 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/0.8427, allocations: 0.7812 MB / 0.7202 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8428, allocations: 307.6 kB / 0.7205 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003768/0.8466, allocations: 1.816 MB / 0.7223 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005013/0.8516, allocations: 2.823 MB / 0.725 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009303/0.8609, allocations: 4.938 MB / 0.7298 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.231e-05/0.8609, allocations: 8 kB / 0.7298 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.02138/0.8823, allocations: 6.79 MB / 0.7365 GB, free: 11.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.8824, allocations: 16 kB / 0.7365 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.933e-05/0.8824, allocations: 32 kB / 0.7365 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/0.8941, allocations: 2.276 MB / 0.7387 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/0.8982, allocations: 0.8997 MB / 0.7396 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03112/0.9293, allocations: 18.41 MB / 0.7576 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/0.933, allocations: 139.9 kB / 0.7577 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008599/0.9339, allocations: 235.9 kB / 0.758 GB, free: 4.891 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (469): * Single equations (assignments): 460 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,26), (1,3), (1,6), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001741/0.9356, allocations: 0.6022 MB / 0.7585 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008581/0.9365, allocations: 286.2 kB / 0.7588 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01976/0.9563, allocations: 6.556 MB / 0.7652 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/0.9563, allocations: 40 kB / 0.7653 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.422e-05/0.9563, allocations: 8 kB / 0.7653 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/0.9565, allocations: 19.92 kB / 0.7653 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/0.9844, allocations: 10.64 MB / 0.7757 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.631e-05/0.9844, allocations: 4 kB / 0.7757 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003415/0.9878, allocations: 0.652 MB / 0.7763 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/0.9979, allocations: 2.024 MB / 0.7783 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008227/0.9988, allocations: 135.9 kB / 0.7784 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02591/1.025, allocations: 17.03 MB / 0.7951 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-05/1.025, allocations: 11.94 kB / 0.7951 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0231/1.048, allocations: 8.458 MB / 0.8033 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.05, allocations: 0.7095 MB / 0.804 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006823/1.051, allocations: 87.98 kB / 0.8041 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.053, allocations: 99.91 kB / 0.8042 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008864/1.054, allocations: 334.7 kB / 0.8045 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004017/1.054, allocations: 159.9 kB / 0.8047 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001756/1.056, allocations: 1.117 MB / 0.8058 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 0 / 0.8058 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007753/1.064, allocations: 2.194 MB / 0.8079 GB, free: 0.4922 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 14 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,blood_plasma.mass,HCO3.logn,CO2.logn,H2O.logn,HCO3_E.logn,CO2_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,others_E.logn,others_P.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 (354): * Single equations (assignments): 345 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,16,77.8%), (1,3,100.0%), (2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,8), (4,30), (1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02949/1.093, allocations: 11.18 MB / 0.8188 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.2284/1.321, allocations: 5.552 MB / 0.8242 GB, free: 232.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/1.321, allocations: 3.125 kB / 0.8242 GB, free: 232.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006893/1.328, allocations: 3.332 MB / 0.8275 GB, free: 231.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.331, allocations: 0.5526 MB / 0.828 GB, free: 231.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06436/1.396, allocations: 31.16 MB / 0.8585 GB, free: 218.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.397, allocations: 1.88 MB / 0.8603 GB, free: 218 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002828/1.4, allocations: 0.6717 MB / 0.861 GB, free: 218 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002141/1.402, allocations: 1.55 MB / 0.8625 GB, free: 216.9 MB / 0.6231 GB Notification: Performance of SimCode: time 1.182e-06/1.402, allocations: 0 / 0.8625 GB, free: 216.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1772/1.579, allocations: 112.7 MB / 0.9725 GB, free: 112.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 51.03/52.61, allocations: 10.88 kB / 0.9725 GB, free: 112.4 MB / 0.6231 GB " [Timeout remaining time 607] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_CarbonDioxideInBlood.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.CarbonDioxideInBlood.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 55.55789196694968] Failed to read output from testmodel.py, exit status != 0: 52.829576311050914 52.84534611 52.226725034 Calling exit ...