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.0007699/0.0007699, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008413/0.0008413, allocations: 165.9 kB / 22.46 MB, free: 2.109 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.9312/0.9312, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.1002/0.1002, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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: "" <> buildModelFMU(Chemical.Examples.Definitions,fileNamePrefix="Chemical_Chemical_Examples_Definitions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.Definitions,fileNamePrefix="Chemical_Chemical_Examples_Definitions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 3.938 kB / 411.5 MB, free: 412 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.885e-05, allocations: 2.281 kB / 411.5 MB, free: 408 kB / 378.7 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.02536/0.02539, allocations: 23.92 MB / 435.4 MB, free: 8.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3258/0.3512, allocations: 122.1 MB / 0.5444 GB, free: 1.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.3515, allocations: 11.94 kB / 0.5444 GB, free: 1.578 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3532, allocations: 0.6615 MB / 0.5451 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.3553, allocations: 1.927 MB / 0.547 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3566, allocations: 0.5319 MB / 0.5475 GB, free: 14.46 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.3589, allocations: 2.025 MB / 0.5495 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.965e-05/0.359, allocations: 29.97 kB / 0.5495 GB, free: 12.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.3594, allocations: 463 kB / 0.5499 GB, free: 11.95 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.3598, allocations: 455.2 kB / 0.5504 GB, free: 11.51 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.3599, allocations: 20 kB / 0.5504 GB, free: 11.49 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.3611, allocations: 0.6822 MB / 0.551 GB, free: 10.8 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.3612, allocations: 162.6 kB / 0.5512 GB, free: 10.65 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3614, allocations: 167.4 kB / 0.5514 GB, free: 10.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.3628, allocations: 1.655 MB / 0.553 GB, free: 8.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3628, allocations: 0 / 0.553 GB, free: 8.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3628, allocations: 0 / 0.553 GB, free: 8.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3628, allocations: 0 / 0.553 GB, free: 8.824 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.0009941/0.3638, allocations: 1.027 MB / 0.554 GB, free: 7.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3639, allocations: 8.031 kB / 0.554 GB, free: 7.758 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.863e-05/0.3639, allocations: 98.69 kB / 0.5541 GB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.3643, allocations: 285.6 kB / 0.5544 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.3647, allocations: 361.4 kB / 0.5547 GB, free: 6.996 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.3647, allocations: 37.36 kB / 0.5547 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.3648, allocations: 44.38 kB / 0.5548 GB, free: 6.918 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3664, allocations: 2.625 MB / 0.5573 GB, free: 4.238 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.3664, allocations: 4.125 kB / 0.5573 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.3664, allocations: 16.38 kB / 0.5574 GB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.087e-05/0.3665, allocations: 93.2 kB / 0.5575 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.369, allocations: 4.226 MB / 0.5616 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.3718, allocations: 3.328 MB / 0.5648 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/0.3724, allocations: 481.6 kB / 0.5653 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3726, allocations: 112.8 kB / 0.5654 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002353/0.3749, allocations: 1.854 MB / 0.5672 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3749, allocations: 38.48 kB / 0.5672 GB, free: 10.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=25): time 2.535e-06/0.3749, allocations: 0 / 0.5672 GB, free: 10.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005376/0.3755, allocations: 464.9 kB / 0.5677 GB, free: 9.555 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.3755, allocations: 55.41 kB / 0.5677 GB, free: 9.488 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/0.3762, allocations: 0.9109 MB / 0.5686 GB, free: 8.566 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3762, allocations: 29.7 kB / 0.5687 GB, free: 8.531 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3764, allocations: 475.1 kB / 0.5691 GB, free: 8.059 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.3765, allocations: 103.3 kB / 0.5692 GB, free: 7.957 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.3767, allocations: 290.5 kB / 0.5695 GB, free: 7.668 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3768, allocations: 358.8 kB / 0.5698 GB, free: 7.309 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.377, allocations: 230.5 kB / 0.57 GB, free: 7.082 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.3776, allocations: 0.8882 MB / 0.5709 GB, free: 5.863 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.3784, allocations: 1.216 MB / 0.5721 GB, free: 4.316 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3784, allocations: 10.72 kB / 0.5721 GB, free: 4.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001012/0.3794, allocations: 1.135 MB / 0.5732 GB, free: 3.168 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.3794, allocations: 16 kB / 0.5732 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.3795, allocations: 27.94 kB / 0.5733 GB, free: 3.125 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.3795, allocations: 32 kB / 0.5733 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.3799, allocations: 299.5 kB / 0.5736 GB, free: 2.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-05/0.3799, allocations: 51.78 kB / 0.5736 GB, free: 2.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.3802, allocations: 139.3 kB / 0.5738 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.484e-05/0.3803, allocations: 132 kB / 0.5739 GB, free: 2.484 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.000263/0.3806, allocations: 336 kB / 0.5742 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.3806, allocations: 87.44 kB / 0.5743 GB, free: 2.062 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/0.3816, allocations: 0.7845 MB / 0.5751 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3816, allocations: 4 kB / 0.5751 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3816, allocations: 0 / 0.5751 GB, free: 1.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3816, allocations: 3.984 kB / 0.5751 GB, free: 1.277 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.382, allocations: 460.4 kB / 0.5755 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.382, allocations: 0 / 0.5755 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3822, allocations: 111.9 kB / 0.5756 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3822, allocations: 4 kB / 0.5756 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3822, allocations: 35.92 kB / 0.5756 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3822, allocations: 4 kB / 0.5757 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3822, allocations: 0 / 0.5757 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3826, allocations: 470.8 kB / 0.5761 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.3829, allocations: 249.4 kB / 0.5763 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3829, allocations: 11.75 kB / 0.5764 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.383, allocations: 11.98 kB / 0.5764 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3831, allocations: 35.97 kB / 0.5764 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.224e-05/0.3831, allocations: 87.98 kB / 0.5765 GB, free: 15.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004028/0.3835, allocations: 0.5654 MB / 0.577 GB, free: 15.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3835, allocations: 5.781 kB / 0.577 GB, free: 15.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005609/0.3841, allocations: 179.8 kB / 0.5772 GB, free: 15.02 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.0008322/0.3849, allocations: 1.159 MB / 0.5783 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005583/0.3855, allocations: 0.5829 MB / 0.5789 GB, free: 13.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3855, allocations: 0 / 0.5789 GB, free: 13.26 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3856, allocations: 135.9 kB / 0.579 GB, free: 13.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.386, allocations: 94.09 kB / 0.5791 GB, free: 13.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.3911, allocations: 6.095 MB / 0.5851 GB, free: 6.184 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3914, allocations: 359.7 kB / 0.5854 GB, free: 5.805 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008915/0.3922, allocations: 0.5048 MB / 0.5859 GB, free: 5.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.3926, allocations: 256.3 kB / 0.5862 GB, free: 5.07 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3926, allocations: 0 / 0.5862 GB, free: 5.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.4189, allocations: 14.73 MB / 0.6005 GB, free: 6.598 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.202, allocations: 3.125 kB / 0.6006 GB, free: 6.598 MB / 490.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_Definitions_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_Definitions.fmu > Chemical_Chemical.Examples.Definitions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.175178744830191] Failed to read output from testmodel.py, exit status != 0: 8.288544688373804 8.296971102 7.932237373 Calling exit ...