Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0007402/0.0007402, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007903/0.0007903, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8313/0.8313, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.07976/0.07976, allocations: 17.45 MB / 276.6 MB, free: 11.77 MB / 266.7 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.Examples.Definitions,fileNamePrefix="Chemical_master_Chemical_Examples_Definitions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.Definitions,fileNamePrefix="Chemical_master_Chemical_Examples_Definitions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 411.6 MB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.107e-06/1.033e-05, allocations: 2.844 kB / 411.6 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Interfaces.mo:448:5-448: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 master/Interfaces.mo:448:5-448: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.01801/0.01802, allocations: 24.02 MB / 435.6 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2397/0.2577, allocations: 122.8 MB / 0.5453 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.258, allocations: 15.94 kB / 0.5453 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.2596, allocations: 0.7125 MB / 0.546 GB, free: 32 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.2619, allocations: 2.371 MB / 0.5483 GB, free: 13.65 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2631, allocations: 0.6223 MB / 0.5489 GB, free: 13.03 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.2653, allocations: 2.112 MB / 0.551 GB, free: 10.92 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.2654, allocations: 33.91 kB / 0.551 GB, free: 10.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.2658, allocations: 483 kB / 0.5515 GB, free: 10.42 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.2663, allocations: 495 kB / 0.552 GB, free: 9.934 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.2664, allocations: 20 kB / 0.552 GB, free: 9.914 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.2675, allocations: 0.8417 MB / 0.5528 GB, free: 9.07 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2677, allocations: 191.3 kB / 0.553 GB, free: 8.883 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.2678, allocations: 183.4 kB / 0.5532 GB, free: 8.703 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.2693, allocations: 1.729 MB / 0.5549 GB, free: 6.969 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2693, allocations: 7.938 kB / 0.5549 GB, free: 6.961 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2693, allocations: 0 / 0.5549 GB, free: 6.961 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2694, allocations: 0 / 0.5549 GB, free: 6.961 MB / 442.7 MB 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.001179/0.2705, allocations: 1.049 MB / 0.5559 GB, free: 5.879 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2706, allocations: 8.031 kB / 0.5559 GB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.804e-05/0.2706, allocations: 102.7 kB / 0.556 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.2711, allocations: 297.6 kB / 0.5563 GB, free: 5.477 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.2714, allocations: 365.3 kB / 0.5566 GB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.2715, allocations: 37.34 kB / 0.5567 GB, free: 5.055 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.2715, allocations: 44.36 kB / 0.5567 GB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.273, allocations: 2.629 MB / 0.5593 GB, free: 2.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2731, allocations: 4.188 kB / 0.5593 GB, free: 2.324 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.2731, allocations: 16.38 kB / 0.5593 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/0.2731, allocations: 93.19 kB / 0.5594 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.2755, allocations: 4.23 MB / 0.5635 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.2781, allocations: 3.325 MB / 0.5668 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.2787, allocations: 479.4 kB / 0.5672 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.2789, allocations: 116.8 kB / 0.5673 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002156/0.281, allocations: 1.858 MB / 0.5691 GB, free: 8.141 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.281, allocations: 30.56 kB / 0.5692 GB, free: 8.102 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.281, allocations: 0 / 0.5692 GB, free: 8.102 MB / 458.7 MB Notification: Performance of matching and sorting (n=25): time 0.000523/0.2816, allocations: 472.9 kB / 0.5696 GB, free: 7.633 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.2816, allocations: 55.41 kB / 0.5697 GB, free: 7.566 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.2822, allocations: 0.9148 MB / 0.5706 GB, free: 6.641 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2822, allocations: 25.7 kB / 0.5706 GB, free: 6.609 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.2824, allocations: 498.9 kB / 0.5711 GB, free: 6.113 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.2825, allocations: 110.4 kB / 0.5712 GB, free: 6.008 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.2827, allocations: 294.4 kB / 0.5715 GB, free: 5.715 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.2828, allocations: 350.8 kB / 0.5718 GB, free: 5.363 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.283, allocations: 234.5 kB / 0.572 GB, free: 5.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.2835, allocations: 0.8915 MB / 0.5729 GB, free: 3.914 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008852/0.2844, allocations: 1.215 MB / 0.5741 GB, free: 2.367 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.2844, allocations: 8 kB / 0.5741 GB, free: 2.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001063/0.2855, allocations: 1.131 MB / 0.5752 GB, free: 1.223 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2855, allocations: 16 kB / 0.5752 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.2855, allocations: 27.94 kB / 0.5752 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.2855, allocations: 32 kB / 0.5753 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.2859, allocations: 299.5 kB / 0.5755 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.359e-05/0.2859, allocations: 43.86 kB / 0.5756 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.2862, allocations: 139 kB / 0.5757 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.2863, allocations: 124.3 kB / 0.5758 GB, free: 0.5547 MB / 458.7 MB 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.0002489/0.2866, allocations: 345.1 kB / 0.5762 GB, free: 212 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.2866, allocations: 107.4 kB / 0.5763 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.2876, allocations: 0.774 MB / 0.577 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2876, allocations: 0 / 0.577 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2876, allocations: 7.938 kB / 0.577 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2876, allocations: 3.938 kB / 0.577 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.288, allocations: 464.4 kB / 0.5775 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.288, allocations: 4 kB / 0.5775 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.2881, allocations: 104 kB / 0.5776 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2881, allocations: 0 / 0.5776 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.2882, allocations: 38.55 kB / 0.5776 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2882, allocations: 0 / 0.5776 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2882, allocations: 4 kB / 0.5776 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.2886, allocations: 498.7 kB / 0.5781 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.2888, allocations: 245.2 kB / 0.5783 GB, free: 13.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.2889, allocations: 7.938 kB / 0.5783 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.289, allocations: 15.98 kB / 0.5784 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.2891, allocations: 39.95 kB / 0.5784 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.2891, allocations: 87.98 kB / 0.5785 GB, free: 13.78 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004099/0.2895, allocations: 0.5676 MB / 0.579 GB, free: 13.22 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2895, allocations: 0 / 0.579 GB, free: 13.22 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005484/0.2901, allocations: 195.8 kB / 0.5792 GB, free: 13.03 MB / 474.7 MB 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.0008488/0.2909, allocations: 1.149 MB / 0.5803 GB, free: 11.85 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.2915, allocations: 0.583 MB / 0.5809 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2915, allocations: 0 / 0.5809 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2916, allocations: 139.8 kB / 0.581 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.292, allocations: 91.75 kB / 0.5811 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.2966, allocations: 6.103 MB / 0.5871 GB, free: 4.191 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.2969, allocations: 359.6 kB / 0.5874 GB, free: 3.812 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008656/0.2978, allocations: 0.5103 MB / 0.5879 GB, free: 3.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.2981, allocations: 260.2 kB / 0.5882 GB, free: 3.066 MB / 474.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2981, allocations: 0 / 0.5882 GB, free: 3.066 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.3222, allocations: 14.72 MB / 0.6025 GB, free: 4.609 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.439/6.761, allocations: 9.5 kB / 0.6026 GB, free: 4.605 MB / 490.7 MB " [Timeout remaining time 653] (rm -f Chemical_master_Chemical.Examples.Definitions.pipe ; mkfifo Chemical_master_Chemical.Examples.Definitions.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.Definitions.pipe >> ../files/Chemical_master_Chemical.Examples.Definitions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Examples_Definitions_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Examples_Definitions.fmu > Chemical_master_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.443033647723496] Failed to read output from testmodel.py, exit status != 0: 6.84460776951164 6.852816041 6.581819134 Calling exit ...