Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.Definitions.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.001432/0.001432, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001728/0.001728, allocations: 214.4 kB / 22.25 MB, free: 5.105 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.809 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.1609/0.1609, allocations: 23.89 MB / 336.3 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: translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") translateModel(Chemical.Examples.Definitions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Definitions") [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.002089/0.002089, allocations: 63.91 kB / 471.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4006, allocations: 59.87 MB / 0.519 GB, free: 9.754 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:465:5-465:64: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/Interfaces.mo:465:5-465:64: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.Definitions): time 0.07898/0.4795, allocations: 23.58 MB / 0.542 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.192/0.6716, allocations: 122.1 MB / 0.6613 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.6721, allocations: 8 kB / 0.6613 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.6749, allocations: 0.6492 MB / 0.6619 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.6788, allocations: 1.916 MB / 0.6638 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.6809, allocations: 0.5283 MB / 0.6643 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004498/0.6854, allocations: 2.01 MB / 0.6663 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.6856, allocations: 29.95 kB / 0.6663 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006323/0.6862, allocations: 382.8 kB / 0.6666 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000841/0.687, allocations: 490.6 kB / 0.6671 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.6871, allocations: 20 kB / 0.6671 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.6895, allocations: 0.7097 MB / 0.6678 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.6897, allocations: 147.3 kB / 0.668 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.69, allocations: 234.3 kB / 0.6682 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003732/0.6937, allocations: 1.662 MB / 0.6698 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.6937, allocations: 0 / 0.6698 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6937, allocations: 0 / 0.6698 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.6938, allocations: 0 / 0.6698 GB, free: 15.05 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.001764/0.6955, allocations: 1.021 MB / 0.6708 GB, free: 14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.6956, allocations: 16.02 kB / 0.6708 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.6963, allocations: 288 kB / 0.6711 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006707/0.697, allocations: 362 kB / 0.6714 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/0.6971, allocations: 33.38 kB / 0.6715 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.6971, allocations: 48.36 kB / 0.6715 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.7001, allocations: 2.625 MB / 0.6741 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.7002, allocations: 0 / 0.6741 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.7002, allocations: 23.98 kB / 0.6741 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.7003, allocations: 85.27 kB / 0.6742 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004438/0.7048, allocations: 4.234 MB / 0.6783 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005256/0.71, allocations: 3.285 MB / 0.6815 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.7111, allocations: 481.8 kB / 0.682 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.7113, allocations: 120.8 kB / 0.6821 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004926/0.7162, allocations: 1.83 MB / 0.6839 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.7163, allocations: 34.5 kB / 0.6839 GB, free: 400 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 4.248e-06/0.7163, allocations: 11.98 kB / 0.6839 GB, free: 388 kB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.00099/0.7172, allocations: 465.8 kB / 0.6844 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.7173, allocations: 51.41 kB / 0.6844 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.7186, allocations: 0.9148 MB / 0.6853 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.7187, allocations: 29.7 kB / 0.6854 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.7191, allocations: 483 kB / 0.6858 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.7192, allocations: 107.2 kB / 0.6859 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.7196, allocations: 302.4 kB / 0.6862 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.7198, allocations: 362.7 kB / 0.6866 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.7202, allocations: 230.5 kB / 0.6868 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.7213, allocations: 0.8922 MB / 0.6876 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.7231, allocations: 1.223 MB / 0.6888 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.7231, allocations: 4 kB / 0.6888 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001919/0.725, allocations: 1.123 MB / 0.6899 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.725, allocations: 19.94 kB / 0.69 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/0.7251, allocations: 28.16 kB / 0.69 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.349e-05/0.7251, allocations: 32 kB / 0.69 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.7259, allocations: 295.6 kB / 0.6903 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.344e-05/0.726, allocations: 47.8 kB / 0.6903 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.7267, allocations: 139 kB / 0.6905 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.7269, allocations: 128 kB / 0.6906 GB, free: 8.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 6 (H2O_vaporization_props.definition.SelfClustering,H2O_vaporization_props.definition.data.phase,H2O_formation_props.definition.SelfClustering,H2O_formation_props.definition.data.phase,O2_dissolving_props.definition.SelfClustering,O2_dissolving_props.definition.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005395/0.7274, allocations: 341.1 kB / 0.6909 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.7276, allocations: 91.38 kB / 0.691 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.7293, allocations: 0.7823 MB / 0.6918 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.7293, allocations: 4 kB / 0.6918 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7294, allocations: 0 / 0.6918 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.7294, allocations: 3.984 kB / 0.6918 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.73, allocations: 417 kB / 0.6922 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.73, allocations: 0 / 0.6922 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.7303, allocations: 107.9 kB / 0.6923 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.7303, allocations: 0 / 0.6923 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.7304, allocations: 35.92 kB / 0.6923 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.7304, allocations: 0 / 0.6923 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7304, allocations: 4 kB / 0.6923 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.731, allocations: 486.9 kB / 0.6928 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.7316, allocations: 253.2 kB / 0.693 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.7317, allocations: 7.938 kB / 0.693 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.7319, allocations: 8 kB / 0.693 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.732, allocations: 43.95 kB / 0.6931 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.7321, allocations: 83.98 kB / 0.6932 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007365/0.7329, allocations: 0.5654 MB / 0.6937 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7329, allocations: 3.938 kB / 0.6937 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001052/0.7339, allocations: 183.8 kB / 0.6939 GB, free: 5.387 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004666/0.7344, allocations: 231.2 kB / 0.6941 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.7354, allocations: 0.5786 MB / 0.6947 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7354, allocations: 0 / 0.6947 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.7356, allocations: 135.9 kB / 0.6948 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.7363, allocations: 103.1 kB / 0.6949 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.7383, allocations: 1.287 MB / 0.6962 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.7388, allocations: 363.5 kB / 0.6965 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001437/0.7402, allocations: 0.5005 MB / 0.697 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.7406, allocations: 143.3 kB / 0.6971 GB, free: 2 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.7406, allocations: 4 kB / 0.6971 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of Templates: time 0.01788/0.7585, allocations: 9.442 MB / 0.7064 GB, free: 8.656 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.Definitions.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Definitions.pipe >> ../files/Chemical_Chemical.Examples.Definitions.sim & ./Chemical_Chemical.Examples.Definitions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.905682669021189] Failed to read output from testmodel.py, exit status != 0: 0.7676223977468908 0.7842666739999999 0.086010946 Calling exit ...