Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.GasSolubility_NIST_2.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.001595/0.001595, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002279/0.002279, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.567/1.567, 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.1415/0.1415, allocations: 23.89 MB / 333.4 MB, free: 1.195 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.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST_2,fileNamePrefix="Chemical_master_Chemical_Examples_GasSolubility_NIST_2",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.002021/0.002021, allocations: 64.72 kB / 466.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1065, allocations: 59.84 MB / 0.5142 GB, free: 12.93 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1817:5-1817:47:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:1817:5-1817:47:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1328:7-1328: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/Boundaries.mo:1328:7-1328: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.GasSolubility_NIST_2): time 0.04543/0.1519, allocations: 29.64 MB / 0.5432 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4493/0.6012, allocations: 150.5 MB / 0.6902 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.6029, allocations: 27.88 kB / 0.6902 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003943/0.6069, allocations: 1.099 MB / 0.6913 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.6104, allocations: 0.8766 MB / 0.6921 GB, free: 9.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.6147, allocations: 1.415 MB / 0.6935 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004441/0.6191, allocations: 2.284 MB / 0.6957 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008802/0.62, allocations: 492.6 kB / 0.6962 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.6211, allocations: 0.794 MB / 0.697 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.6223, allocations: 0.9452 MB / 0.6979 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002812/0.6226, allocations: 216 kB / 0.6981 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004385/0.627, allocations: 1.752 MB / 0.6998 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.6277, allocations: 0.6502 MB / 0.7004 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.6291, allocations: 1.232 MB / 0.7016 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00732/0.6364, allocations: 4.258 MB / 0.7058 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6364, allocations: 4 kB / 0.7058 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6364, allocations: 0 / 0.7058 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.689e-05/0.6364, allocations: 0 / 0.7058 GB, free: 11.34 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 615 * Number of variables: 615 Notification: Performance of Generate backend data structure: time 0.005198/0.6416, allocations: 2.757 MB / 0.7085 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.6417, allocations: 12.03 kB / 0.7085 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.388e-05/0.6418, allocations: 52.08 kB / 0.7086 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003971/0.6422, allocations: 321.8 kB / 0.7089 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.6434, allocations: 471.8 kB / 0.7093 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.6453, allocations: 1.211 MB / 0.7105 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.6457, allocations: 307.8 kB / 0.7108 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.646, allocations: 196.3 kB / 0.711 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009838/0.6558, allocations: 8.004 MB / 0.7188 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.6559, allocations: 1.219 kB / 0.7188 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.656, allocations: 83.98 kB / 0.7189 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003967/0.6564, allocations: 336.6 kB / 0.7192 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.6718, allocations: 13.33 MB / 0.7322 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03218/0.7039, allocations: 20.19 MB / 0.7519 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006022/0.71, allocations: 3.744 MB / 0.7556 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0039/0.7139, allocations: 2.616 MB / 0.7581 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002881/0.7167, allocations: 1.62 MB / 0.7597 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.7168, allocations: 46.25 kB / 0.7598 GB, free: 3.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/0.7168, allocations: 0 / 0.7598 GB, free: 3.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=103): time 0.03872/0.7555, allocations: 15.12 MB / 0.7745 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005507/0.761, allocations: 3.329 MB / 0.7778 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006076/0.7671, allocations: 3.185 MB / 0.7809 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004698/0.7676, allocations: 42.55 kB / 0.7809 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.7688, allocations: 1.037 MB / 0.7819 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007692/0.7695, allocations: 376.8 kB / 0.7823 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.7708, allocations: 378.8 kB / 0.7827 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.7709, allocations: 349.9 kB / 0.783 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004742/0.7757, allocations: 3.196 MB / 0.7861 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004973/0.7807, allocations: 3.426 MB / 0.7895 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/0.7876, allocations: 4.173 MB / 0.7935 GB, free: 440 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.7876, allocations: 4 kB / 0.7935 GB, free: 436 kB / 0.5762 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01218/0.7997, allocations: 6.586 MB / 0.8 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.7998, allocations: 7.984 kB / 0.8 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.7998, allocations: 8 kB / 0.8 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/0.8007, allocations: 441.2 kB / 0.8004 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00989/0.8106, allocations: 1.061 MB / 0.8014 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.8216, allocations: 8.644 MB / 0.8099 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.8234, allocations: 43.98 kB / 0.8099 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007117/0.8241, allocations: 287.9 kB / 0.8102 GB, free: 14.88 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (125): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001786/0.8259, allocations: 0.6264 MB / 0.8108 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000913/0.8268, allocations: 273 kB / 0.8111 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008642/0.8354, allocations: 3.22 MB / 0.8142 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.8355, allocations: 8 kB / 0.8142 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.8355, allocations: 6.469 kB / 0.8142 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.8355, allocations: 11.92 kB / 0.8142 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/0.8475, allocations: 5.92 MB / 0.82 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.8475, allocations: 4.688 kB / 0.82 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006282/0.8538, allocations: 487.5 kB / 0.8205 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.8551, allocations: 222.4 kB / 0.8207 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.8552, allocations: 27.98 kB / 0.8207 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.238/1.093, allocations: 6.902 MB / 0.8275 GB, free: 230.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0027/1.096, allocations: 1.987 MB / 0.8294 GB, free: 229.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004925/1.101, allocations: 2.201 MB / 0.8316 GB, free: 228.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/1.102, allocations: 449 kB / 0.832 GB, free: 228.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004542/1.102, allocations: 29.58 kB / 0.832 GB, free: 228.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009636/1.103, allocations: 34.8 kB / 0.8321 GB, free: 228.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/1.103, allocations: 102.6 kB / 0.8322 GB, free: 228.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/1.104, allocations: 33.75 kB / 0.8322 GB, free: 228.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006032/1.11, allocations: 4.006 MB / 0.8361 GB, free: 227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.31e-07/1.11, allocations: 0 / 0.8361 GB, free: 227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003019/1.113, allocations: 0.6859 MB / 0.8368 GB, free: 226.9 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 ($STATESET1.x,CO2_dissolutionP.rear.n_flow) * Number of discrete variables: 2 ($cse18,$cse11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005607/1.118, allocations: 3.043 MB / 0.8397 GB, free: 225.3 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008331/1.127, allocations: 3.908 MB / 0.8436 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.127, allocations: 1.375 kB / 0.8436 GB, free: 223.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004201/1.131, allocations: 1.079 MB / 0.8446 GB, free: 223.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004121/1.135, allocations: 0.6487 MB / 0.8452 GB, free: 222.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0587/1.194, allocations: 42.62 MB / 0.8869 GB, free: 189.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.195, allocations: 1.681 MB / 0.8885 GB, free: 187.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001998/1.197, allocations: 0.5463 MB / 0.889 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001835/1.199, allocations: 1.066 MB / 0.8901 GB, free: 186.2 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/1.199, allocations: 0 / 0.8901 GB, free: 186.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/1.335, allocations: 86.24 MB / 0.9743 GB, free: 101.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.48/20.82, allocations: 6.516 kB / 0.9743 GB, free: 101.1 MB / 0.6075 GB " [Timeout remaining time 639] (rm -f Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; mkfifo Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe >> ../files/Chemical_master_Chemical.Examples.GasSolubility_NIST_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Examples_GasSolubility_NIST_2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Examples_GasSolubility_NIST_2.fmu > Chemical_master_Chemical.Examples.GasSolubility_NIST_2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.04796262702439] Failed to read output from testmodel.py, exit status != 0: 21.01983015303267 21.038242998 20.397896044 Calling exit ...